Reference Information · Threads View Home and Help Icons Keyword Index Home Using Help
Line Graphic
Line Graphic

Contents

Keyword Index

Using the WDB GUI

Reference Information
Main Window
Menus
Toolbar Icons and Shortcut Keys
Views
Source View
Disassembly View
Command View
Watch View
Local Variables View
Call Stack View
{short description of image} Threads View
Registers View
Memory Usage View
Build View
Dialog Boxes
Load Program Dialog Box
Open File Dialog Box
Save/Restore Debug Session Dialog Box
Breakpoints Dialog Box
Source File Paths Dialog Box
Object File Paths Dialog Box
Signals Dialog Box
Find Dialog Box
Debugger Preferences Dialog Box
Quick Watch Dialog Box
Fix List Dialog Box
Memory Check Dialog Box

Troubleshooting

Using Help



Bullet Overview
Bullet Threads View Description
Bullet Pop-up Menu
Bullet Tips
Bullet See Also

Line Graphic

Overview

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.

Line Graphic

Threads View Description

Area Description
Annotation area
(Left column)
Contains the following symbols:
Program Counter A yellow marker that shows you which thread is currently selected anddisplayed.

Text area
(Right column)
Displays the table of current threads.

Line Graphic

Pop-up Menu

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.
Line Graphic

Tips

  • 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 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