Contents
Keyword
Index
Using the WDB
GUI
Reference
Information
Troubleshooting
Using
Help |
|
|
The Threads view allows you to view and manipulate threads
within a multi-threaded program.
You can view threads when your program's execution is paused.
To select a thread
- In the main window, click the Threads tab.
- Double-click the thread you want to view. This changes the
context of the program and the program counter to the selected
thread. All of the WDB GUI views are updated based on the new
context. The appropriate call stack and related stack frame data is
displayed.
To enable or disable a thread
- To prevent a thread from running until it is
enabled again, click the right mouse button, and then click
Disable Thread. A disabled thread is indicated by
a 'D' symbol before the thread id.
- To run a thread when you step or continue,
click the right mouse button, and then click Enable
Thread
. By default, all threads are
enabled.
To see the Threads view in a separate window
- Click the right mouse button, then click Open Separate View.
The separate window behaves the same as the tabbed Threads view.
- To close the separate window, click the right mouse button, then
click Close.
See Tips for a shortcut to opening a separate
window.
- Click the
toolbar button to open and close the Threads view in a separate window.
- On the View menu, click Threads to quickly bring
the Threads view to the top.

Return
to Top |