• 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
Thread ID in debugger window versus console
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Thread ID in debugger window versus console


  • Subject: Thread ID in debugger window versus console
  • From: Peter Duniho <email@hidden>
  • Date: Mon, 2 Feb 2009 17:45:17 -0800

In the debugger window, threads are numbered sequentially and displayed in decimal, from 1 to N. Output to the console (for example, NSLog output with process and thread ID) has some other hexadecimal number for the thread (I presume some kind of OS handle...I'm less familiar with Unix debugging, but every other platform I've used has a similar concept).

Given the number in one, how do I match that to the correct number in the other?

Bonus points if there's an _easy_ way to do that.  :)

And barring that, is there some way in the debugger, once an exception has occurred (exception thrown, fault, etc.), to at least show the thread where the exception happened?

This seems like such a basic thing to need to do, I feel like I must be missing something obvious. But, after nearly an hour looking for the answer, I'm ready for someone to just point the obvious out to me. :)

Thanks,
Pete
_______________________________________________
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


  • Follow-Ups:
    • Re: Thread ID in debugger window versus console
      • From: Michael Crawford <email@hidden>
    • Re: Thread ID in debugger window versus console
      • From: Peter Duniho <email@hidden>
  • Prev by Date: Re: OT: Book or Website suggestion please
  • Next by Date: Re: Thread ID in debugger window versus console
  • Previous by thread: Re: Compiling a single file Command-K
  • Next by thread: Re: Thread ID in debugger window versus console
  • Index(es):
    • Date
    • Thread