Suspending a Thread
Suspend a thread to prevent it from running during your debugging session. You might suspend a thread if the thread is about to crash or if you want to prevent it from doing work that could interfere with the rest of your application.
A suspended thread does not run when you step through your code or continue execution. The debug navigator places a red status icon next to suspended threads.
![../art/debug_navigator-suspending_thread-b_2x.png](https://developer.apple.com/library/mac/recipes/xcode_help-debug_navigator/art/debug_navigator-suspending_thread-b_2x.png)
To resume a thread that is currently suspended, Control-click it and select Resume Thread from the contextual menu.
No comments:
Post a Comment