Using the File Menu |
 |
Select File:Load Executable
to invoke a target program. The Load/Rerun dialog box, shown in
Figure 2-1 “Load/Rerun Dialog Box ”, appears.
The Load/Rerun dialog box allows:
Specifying the path name of the target program. (The ...
buttons invoke a dialog box containing a list of directories and
file names under the current working directory.)
Specifying program arguments.
Changing the current working directory.
Redirecting stdin,
stdout, and stderr.
Append and Replace
buttons allow stdout
and stderr to
be added to or to overwrite existing files.
Specifying the environment variables to be passed
to the target programs. A window above the input boxes lists the
current settings.
Using the debug Command |
 |
To invoke a target program from the debugger command input
box, enter the debug
command followed by the target program invocation.
For example, if the target program test
takes the argument -F testfile,
enter the following command:
To redirect the target program's standard input and output,
use the debug
command's -input
and -output options.