In This Book

2

Invoking and Loading a Target Program From the Debugger

You can invoke and load a target program from the File menu or by using the debug command.

Using the File Menu

Select File:Load Executable to invoke a target program. The Load/Rerun dialog box, shown in Figure 2-1, appears.

The Load/Rerun dialog box allows:

1.Specifying the path name of the target program. (The 4...5 buttons invoke a dialog box containing a list of directories and ￿le names under the current working directory.)

2.Specifying program argumen ts.

3.Changing the current working directory.

4.Redirecting stdin, stdout , and stderr . Append and Replace buttons allow stdout and stderr to be added to or to overwrite existing ￿les.

5.Specifying the environment variables to be passed to the target programs. A window above the input boxes lists the current settings.

Compiling, Loading, and Executing the Target Program 2-5