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

Re: Thread ID in debugger window versus console


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

I love how asking a question is one of the fastest ways to get through whatever block was preventing one from finding the answer oneself.

Anyway, with respect to this question:

On Feb 2, 2009, at 5:45 PM, Peter Duniho wrote:

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?

I have found that the "info threads" command (typed in the console window, when gdb has been attached to the process) dumps a list of threads that match the display in the debugger window. Each thread's decimal ID is listed at the left, with the hexadecimal ID listed later in the row for that thread.


If there's a way to display this same information in the debugger window, I'm still all ears. Command-line debugging is fine if I have to, but I've been spoiled by years of GUI debugging. :)

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


References: 
 >Thread ID in debugger window versus console (From: Peter Duniho <email@hidden>)

  • Prev by Date: Thread ID in debugger window versus console
  • Next by Date: Re: Thread ID in debugger window versus console
  • Previous by thread: Thread ID in debugger window versus console
  • Next by thread: Re: Thread ID in debugger window versus console
  • Index(es):
    • Date
    • Thread