[lldb-dev] How to step in one thread and stick in this thread among many threads?

Greg Clayton gclayton at apple.com
Fri Nov 1 15:19:04 PDT 2013


Currently as long all steps might end up running the other threads. 

For example if you do a step over you might end up running just the current thread until you step into a function call, and then a breakpoint will be set on the return address and all threads will be continued.

So there is no guarantee other threads won't run when stepping in/out/over. 

This is similar to how GDB does it. 

Jim Ingham will be able to clarify more.

Greg

On Nov 1, 2013, at 3:12 PM, Yin Ma <yin at affinic.com> wrote:

> Hi,
>  
> I am wondering if there is a command that can let me
> Stick in one thread of many threads to do step or next?
> How step, next, si, ni behave in thread debugging?
>  
> Thanks,
>  
> Yin
>  
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev




More information about the lldb-dev mailing list