Threads indicate their running state with a status icon:
- No icon means the thread is running normally.
- A yellow status icon means that the thread is blocked and waiting on a lock or condition.
- A red status icon means that you suspended the thread. A suspended thread does not execute code when you resume your application.
The debug navigator contains debug gauges, a scope selector, the thread and memory location list, and a filter bar.
With the debug gauges, you can see how your app is consuming cpu power, memory, and other attributes as it runs.
With the scope selector you indicate how the navigator displays threads:
- By Thread: Displays threads as a flat list.
- By Queue: Groups threads under the dispatch queue that created them.
With the filter bar you specify the threads and stack frames you want to see.
- Thread filter: Shows only relevant threads.
- Call stack slider: Shows stack frames, from only the most relevant to all of them.
To remove a memory location from the list, select it and press Delete.
If you are debugging multiple processes from the same workspace, each process is listed separately in the debug navigator with its threads grouped underneath it. Multiple process debugging is a useful way to debug the interactions between client and server processes.
No comments:
Post a Comment