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


Contents

Keyword Index

Using the WDB GUI

Reference Information
Main Window
{short description of image} Menus
Toolbar Icons and Shortcut Keys
Views
Source View
Disassembly View
Command View
Watch View
Local Variables View
Call Stack View
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
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 Main Menus
{short description of image} Pop-up Menus
Bullet Tips
Bullet See Also

Line Graphic

Overview

The WDB GUI provides menus for performing actions when you are debugging a program. The main menus are located at the top of the main window. Pop-up menus are available in the different GUI views and are accessed by a right mouse click. Line Graphic

Main Menus

The main menus in the WDB GUI are:

File Menu

Command Action Shortcut
Load Program ... Opens the Load Program dialog box, where you can load an executable and specify program settings.

Ctrl+F5
Open File ... Opens the Open File dialog box, where you can select a source file to open in the Source view.

Ctrl+O
Close File Closes the currently active source edit tab. Does not close the Source view.

none
Recent Files Provides a list of source files that have been opened recently.

none
Change Directory ... Opens the Change Directory dialog box where you can change your current working directory.

none
Save Session ... Opens the Save Debug Session dialog box where you can save your current debug session to a file.

none
Restore Session ... Opens the Restore Debug Session dialog box where you can restore a debug session from a file.

none
Save File Saves the file in the currently active source edit tab.

Ctrl+S
Recent Sessions Provides a list of recently saved debug sessions.

none
Exit Exits the WDB GUI. none
{short description of image}

Edit Menu

Command Action Shortcut
Breakpoints ... Opens the Breakpoints dialog box, where you can manage breakpoints.

Alt+F9
Source File Paths ... Opens the Source File Paths dialog box, where you can specify paths to source files.

none
Object File Paths ... Opens the Object File Paths dialog box, where you can specify paths to object files.

none
Signals ... Opens the Signals dialog box where you can modify how signals are handled during your debug session.

none
Fix List ... Opens the Fix List dialog box where you can add files to be rebuilt when changed.

none
Find ... Opens the Find dialog box, where you can search for specific text or a regular expression.

Alt+F3
Find Next Searches for the next occurrence of the text or regular expression specified the last time you used Find.

F3
Preferences Opens the Debugger Preferences dialog box where you can modify the appearance and behavior of the debugger. none
{short description of image}

View Menu

Command Action Shortcut
Command Brings the Command view to the top of the lower tabbed area.

Alt+2
Watch Brings the Watch view to the top either as a tabbed view or as a separate window, depending on how the view is currently set.

Alt+3
Local Variables Brings the Local Variables view to the top either as a tabbed view or as a separate window, depending on how the view is currently set.

Alt+4
Call Stack Brings the Call Stack view to the top either as a tabbed view or as a separate window, depending on how the view is currently set.

Alt+7
Threads Brings the Threads view to the top either as a tabbed view or as a separate window, depending on how the view is currently set.

Alt+T
Registers Brings the Registers view to the top either as a tabbed view or as a separate window, depending on how the view is currently set.

Alt+5
Memory Usage Brings the Memory Usage view to the top either as a tabbed view or as a separate window, depending on how the view is currently set.

Alt+6
Build Toggles the visibility of the build view.

none
Source Brings the Source view to the top of the upper tabbed area.

Alt+1
Disassembly Brings the Disassembly view to the top either as a tabbed view or as a separate window, depending on how the view is currently set.

Alt+8
Program Console Opens the Program Console window. The Program Console is always displayed in a separate window. Alt+9
{short description of image}

Debug Menu

Command Action Shortcut
Go Starts or continues program execution at the current program counter location.

F5
Restart Restarts debugging at the program's entry point. Clears and initializes the Watch, Local Variables, and Call Stack views.

Ctrl+Shift+F5
Stop Debugging Stops program execution and enables loading of a new executable. Clears and initializes all views except the Source view.

Shift+F5
Break Execution Pauses the program at its current location.

none
Step Into Provides a single step execution of the current function or instruction.

F11
Step Over Steps over the next statement. Executes function calls without stepping into them.

F10
Step Out Executes the program through completion of the current function or instruction. Then pauses at the statement immediately following the function call.

Shift+F11
Step Last Steps into the function call without stepping into the argument evaluation function calls.

F8
Run to Cursor Executes the program until reaching the current cursor location.

Ctrl+F10
Show Next Statement Restores the context to the location of the program counter and updates all applicable views.

Alt+*
Quick Watch ... Displays the Quick Watch dialog box where you can view the value of a variable that you have selected in the active view. Shift+F9
{short description of image}

Tools Menu

Command Action Shortcut
Memory Check ... Brings up the Memory Check dialog, where you can turn on memory checks such as leak detection.

Ctrl+M
{short description of image}

Help Menu

Command Action Shortcut
Help Topics ... Displays the WDB GUI help topics.

F1
Help Feedback ... Displays how to suggest new features for future releases.

none
About WDB GUI ... Displays information about this release of the WDB GUI.

none
About WDB ... Displays information about WDB licensing. none
{short description of image}

Pop-up Menus

You can get information about pop-up menus in the reference information topic for each view:

Line Graphic

Tips

You can use mnemonic keystrokes to access menu items. The mnemonic keystrokes are indicated in the main menus by an underlined letter.

To use the mnemonic keystroke to access a menu command

  1. Press Alt and the underlined letter, then press only the underlined letter for sub-menu commands.

    For example, to access the Breakpoints dialog box (which is part of the Edit menu), press Alt + E, then press B.

  2. When you are in mnemonic mode, press the arrow keys to move up and down or to move left and right.
  3. Press the Escape key to exit mnemonic mode.
NOTE: Short cuts and mneumonic keystrokes may not work correctly if the CAPS LOCK or NUM LOCK is set on your keyboard.
Line Graphic

See Also

Line Graphic

Return to Top