Re: LLDB: How to lock onto a single thread
Re: LLDB: How to lock onto a single thread
- Subject: Re: LLDB: How to lock onto a single thread
- From: Han Ming Ong <email@hidden>
- Date: Sat, 10 Mar 2012 14:41:59 -0800
If you mouse over the step-over button in the Debug Bar, you will see that to stop-over in the current thread only, hold control-shift.
It should work in both gdb/lldb. If you have an issue, please file a bug. Thanks!
On Mar 10, 2012, at 6:55 AM, Andreas Grosam wrote:
> As mentioned in several places in the documentation, when using the LLDB debugger "As you step through, you can lock onto a single thread and follow that specific thread of execution."
>
> OK, but HOW? (Could not find this in the docs)
>
> What I want to achieve is exactly that what has been stated in the docs: I want to step through a certain code path in one thread irrespectively what the other threads are doing. Actually, when single stepping through the code I more or less randomly "resume" in other threads, which makes it difficult to keep track and focus on the problem.
>
> Ideally, I also want to be able to disable/enable breakpoints within the context of certain thread in some easy way, if possible.
>
>
>
> Thanks for a tip.
>
> Andreas
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden