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

Restarting the Target Program

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Glossary

 » Index

Using the File Menu

To restart the target program from the menu bar, select:

  • File:Rerun to restart the target without changing the runtime environment.

  • File:Rerun to restart the target with changes to the runtime environment.

Using the restart Command

Use the restart command to restart the target program while preserving breakpoints and watchpoints.

The restart command restarts the currently loaded target program. If no target program is loaded, it restarts the last target program that ran in the current debugging session.

A program may not restart correctly if its object file was modified after the original debug command. Breakpoints, for example, may be reset at inappropriate locations after restarting.

If you do not want to preserve breakpoints, watchpoints, and symbol information, kill the target program (or let it finish executing) and re-enter the debug command.

Without options, the restart command restarts the target program using the same arguments specified in the previous invocation. Use the -args option if you want to specify different arguments in the target program invocation.

For example, the following command restarts the currently running target program, replacing previously specified arguments with the argument -s:

restart -args -s