HPlogo HP/DDE Debugger User's Guide: HP 9000 Series 700/800 Computers > Chapter 2 Compiling, Loading, and Executing the Target Program

Invoking and Loading a Target Program From the Debugger

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Glossary

 » Index

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 “Load/Rerun Dialog Box ”, appears.

The Load/Rerun dialog box allows:

  1. 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.)

  2. Specifying program arguments.

  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 files.

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

Figure 2-1 Load/Rerun Dialog Box

[Load/Rerun Dialog Box]

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:

debug test -F testfile

To redirect the target program's standard input and output, use the debug command's -input and -output options.