• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: LLDB: How to lock onto a single thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >LLDB: How to lock onto a single thread (From: Andreas Grosam <email@hidden>)

  • Prev by Date: Re: When did LLDB take over?
  • Next by Date: Re: OK, so now blocks of code are disappearing from my files.
  • Previous by thread: LLDB: How to lock onto a single thread
  • Next by thread: filemerge question
  • Index(es):
    • Date
    • Thread