HP WDB GUI 5.8 Reference Manual ( February 2008 )

Debugging with WDB GUI
Enabling and Disabling Specific Threads
Chapter 3 81
Enabling and Disabling Specific Threads
You can explicitly enable or disable the execution of specific threads when debugging
multi-threaded applications. The following steps discuss how to enable or disable the
execution of specific threads:
1. Select the Threads tab to enable the Threads View. The Threads View displays the
current threads that are active in the program that is being debugged.
2. To prevent the execution of a specific thread until it is enabled again, right-click on the
specific thread and select the Disable Thread option. A disabled thread is indicated by a
'D' symbol before the thread-id.
3. To enable the execution of a specific thread when you step or continue, right click on the
specific thread and select the Enable Thread option. By default, all threads are enabled.