Using the WDB GUI · Using the Threads View Home and Help Icons Keyword Index Home Using Help
Line Graphic
Line Graphic

Contents

Keyword Index

Using the WDB GUI
Starting and Exiting the WDB GUI
Loading a Program and Changing Program Settings
Opening Source Files
Changing the Working Directory
Saving and Restoring Debug Sessions
Setting Source Paths
Setting Object Paths
Viewing Your Code
Setting Signal Handling
Finding Specific Text in Your Code
Using the Command View
Using the Watch View
Using Quick Watch
Using the Local Variables View
Using the Call Stack View
{short description of image} Using the Threads View
Using the Registers View
Using the Program Console
Using Breakpoints
Advancing Through Your Program
Starting and Stopping the Debug Process
Setting Debugger Preferences
Customizing Colors and Fonts

Reference Information

Troubleshooting

Using Help



Bullet Overview
Bullet Viewing Threads
Bullet Tips
Bullet See Also

Line Graphic

Overview

The Threads view allows you to view and manipulate threads within a multi-threaded program.

Line Graphic

Viewing Threads

You can view threads when your program's execution is paused.

To select a thread

  1. In the main window, click the Threads tab.
  2. 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.
Line Graphic

Tips

  • Click the Threads 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.
Line Graphic

See Also

Line Graphic

Return to Top