forked from OSchip/llvm-project
658f6ed152
Previously ignore counts were checked when we stopped to do the sync callback in Breakpoint::ShouldStop. That meant we would do all the ignore count work even when there is also a condition says the breakpoint should not stop. That's wrong, lldb treats breakpoint hits that fail the thread or condition checks as "not having hit the breakpoint". So the ignore count check should happen after the condition and thread checks in StopInfoBreakpoint::PerformAction. The one side-effect of doing this is that if you have a breakpoint with a synchronous callback, it will run the synchronous callback before checking the ignore count. That is probably a good thing, since this was already true of the condition and thread checks, so this removes an odd asymmetry. And breakpoints with sync callbacks are all internal lldb breakpoints and there's not a really good reason why you would want one of these to use an ignore count (but not a condition or thread check...) Differential Revision https://reviews.llvm.org/D103217 |
||
---|---|---|
.. | ||
Breakpoint.cpp | ||
BreakpointID.cpp | ||
BreakpointIDList.cpp | ||
BreakpointList.cpp | ||
BreakpointLocation.cpp | ||
BreakpointLocationCollection.cpp | ||
BreakpointLocationList.cpp | ||
BreakpointName.cpp | ||
BreakpointOptions.cpp | ||
BreakpointPrecondition.cpp | ||
BreakpointResolver.cpp | ||
BreakpointResolverAddress.cpp | ||
BreakpointResolverFileLine.cpp | ||
BreakpointResolverFileRegex.cpp | ||
BreakpointResolverName.cpp | ||
BreakpointResolverScripted.cpp | ||
BreakpointSite.cpp | ||
BreakpointSiteList.cpp | ||
CMakeLists.txt | ||
Stoppoint.cpp | ||
StoppointCallbackContext.cpp | ||
StoppointSite.cpp | ||
Watchpoint.cpp | ||
WatchpointList.cpp | ||
WatchpointOptions.cpp |