tags:

views:

83

answers:

1

Hi,

How can I display all the threads for my program when debug in Xcode? I am using eclipse for java debugging, it can show all the current threads in the program and I can suspend each one of them and show their current stack trace. Can I do that same in XCode?

Thank you.

+3  A: 

You can see the stack traces for each active thread on the debugger view. (Run->Debugger). In the top left panel you should be able to see the stack trace for the current thread. It should say something like "Thread-1" at the top, click on this and you can select any of the other threads, and view their individual stack traces.

Tom