[lldb-dev] ThreadPlanStepOverBreakpoint behavior

Jim Ingham via lldb-dev lldb-dev at lists.llvm.org
Mon Oct 5 14:26:50 PDT 2015


That is intended behavior.  MischiefManaged is called when an stop propagates to that plan, and it needs to decide whether it is done or not.  That’s not what happens when somebody decides to discard the plan.  WillPop will get called if you need to do some cleanup when the plan gets popped.

Was this causing some problem?

Jim

> On Sep 25, 2015, at 1:51 PM, Philippe Lavoie via lldb-dev <lldb-dev at lists.llvm.org> wrote:
> 
> 
> I noticed that when a ThreadPlanStepOverBreakpoint is discarded (as opposed to being popped from the stack), MischiefManaged() is not called and the disabled breakpoint is not re-enabled.
> 
> Is this the intended behavior ?
> 
> -Philippe
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org <mailto:lldb-dev at lists.llvm.org>
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev <http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20151005/35592514/attachment-0001.html>


More information about the lldb-dev mailing list