[lldb-dev] multi-threaded step out question

jingham at apple.com jingham at apple.com
Wed Sep 18 15:43:51 PDT 2013


Step out breakpoints are always thread specific, since they implement operations for one specific thread.  So conceptually there is no breakpoint at the step out destination for thread B, though in practice this means if thread B hits the step out breakpoint it should continue without stopping.  Is this not working?

Jim

On Sep 18, 2013, at 3:37 PM, Kopec, Matt <matt.kopec at intel.com> wrote:

> Hi Jim,
>  
> A question came up about the correct behavior when a thread hits a step-out breakpoint that was intended for another thread.
>  
> In the TestThreadStepOut test case, two threads are stopped inside the same function (invoked from the same call site) and Thread A is issued a ‘thread step-out –m all-threads’.  What should happen if Thread B hits the step-out breakpoint before Thread A? Should Thread B continue past the breakpoint or stop there until Thread A finishes the step-out?
>  
> Thanks,
> Matt





More information about the lldb-dev mailing list