The Threads view lists the threads in a multi-threaded
program. You can traverse the list by double-clicking on the thread
you want to view. You can disable or enable a thread.
When you select a thread, the program counter and the context of the
program are switched to that thread. The call stack and related stack
frame data for that thread is displayed in all the debugger views.
You can access the Threads view from the main WDB GUI window
by clicking the Threads tab in the lower tabbed area.
Area |
Description |
Annotation area
(Left column) |
Contains the following symbols:
 |
A yellow marker that shows you which thread is
currently selected anddisplayed.
|
|
Text area
(Right column) |
Displays the table of current threads.
|
In the Threads view, click the right mouse button to display
a pop-up menu that contains the following commands:
Command |
Action |
Select Thread |
Changes the context of the program and
the program counter to the selected thread. Updates all of the WDB
GUI views based on the new call stack and context.
|
Disable Thread or Enable Thread |
Prevents a thread from running until it is enabled again. A
disabled thread is indicated by a 'D' symbol before the thread
id.
or
Allows a thread to run
when you execute the step or continue command. By default, all threads are enabled.
|
Open Separate Window |
Displays the Threads view in a
separate window, allowing you to see more than one GUI view at the
same time.
|
Return to Main Window |
Closes the separate window and enables
the Threads tab. Available when the Threads view is
displayed in a separate window. |
- To open or close the Threads view in a separate window:
- Click the right mouse button to display a
pop-up menu that contains commands to open and close 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 |