Reference Information ·
Load Program Dialog Box
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
Threads View
Registers View
Memory Usage View
Build View
Dialog Boxes
{short description of image} 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 Dialog Box Description
Bullet Run Tab Description
Bullet Environment Tab Description
Bullet Input/Output Tab Description
Bullet See Also

Line Graphic

Overview

Use the Load Program dialog box to customize how a particular debug session will operate in the WDB GUI. You can access the Load Program dialog box on the File menu by clicking Load Program.

NOTE: Changing any program settings will reload your executable. If an executable is running, it will be unloaded.
Line Graphic

Dialog Box Description

The Load Program dialog box contains three tabbed areas:
  • The Run tab where you can set run options.
  • The Environment tab where you can set environment variables.
  • The Input/Output tab where you can set input/output redirection.
In addition, the Load Program dialog box has two buttons that operate on all three tabbed areas:

Buttons

Field or Button Action
OK button Click to submit the information that you have entered in any of the three tabbed areas of this dialog box.

Cancel button Click to exit this dialog box without submitting the information that you have entered in any of the three tabbed areas of this dialog box.

Line Graphic

Run Tab Description

Fields and Buttons

Field or Button Action
Executable Name text box Type or browse for the full path of the executable that you want to load.

Core File check box Select whether or not to load a core file.

Core File text box Type or browse for the full path of the core file you want to load.

Attach Process ID check box Select whether or not to attach to a process.

Attach Process ID text box Type the number of the process ID to which you want to attach.

Line Graphic

Environment Tab Description

Field or Button Action
Debug Environment Variables list box View the list of environment variables that are currently added or modified. You can also select an environment variable that you want to delete.

Delete button Click to delete an environment variable that you have selected in the Debug Environment Variables list box.

Variable text box Type the name of the variable you want to set.

Value text box Type the value you want to apply to the variable in the Variable text box.

Set button Click to set the variable in the Variable text box to the value in the Value text box.

Line Graphic

Input/Output Tab Description

Field or Button Action
stdin text box Type or browse for the path and file name you want to specify for standard input.

stdout text box Type or browse for the path and file name you want to specify for standard output.

Append check box Select this check box if you want to append information to the standard output file rather than overwrite existing information in the file.


NOTE:
  • When the stdin and stdout fields are blank, the Program Console is used for standard input and output.
  • You cannot redirect standard error. It displays in the Program Console.

Line Graphic

See Also

Line Graphic

Return to Top