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

Jim Ingham jingham at apple.com
Fri Nov 1 15:42:17 PDT 2013


Note that all the “normal” thread stepping commands like “step”, “next”, etc are just aliases for the thread equivalents:

(lldb) help next
...
'next' is an abbreviation for 'thread step-over'

So these are all the commands you are used to using.

Jim

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

> Hi Jim
>  
> Thank you. I will try this command to see if it works for me.
>  
> Yin
>  
> From: Jim Ingham [mailto:jingham at apple.com] 
> Sent: Friday, November 01, 2013 3:22 PM
> To: Yin Ma
> Cc: lldb-dev at cs.uiuc.edu
> Subject: Re: [lldb-dev] How to step in one thread and stick in this thread among many threads?
>  
> The help for the step commands say (e.g.):
>  
> (lldb) help thread step-in
>    Source level single step in specified thread (current thread, if none specified).
>  
> Syntax: thread step-in <cmd-options> [<thread-id>]
>  
> Is there anything else you need?
>  
> Jim
>  
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131101/b2c54f2d/attachment.html>


More information about the lldb-dev mailing list