Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Run Menu: Restart Command
◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The Restart command resets execution to the first line of the
program. After you issue the Restart command,
■ Program variables are reinitialized.
■ Any existing breakpoints or watch statements are retained.
The pass counts for all breakpoints are reset to their
original values.
See: ◄Breakpoint Set (BP) Command-Window Command►
◄Watch Menu: Set Breakpoint Command►
■ Any program arguments are retained.
See: ◄Run Menu: Set Runtime Arguments Command►
You can use Restart any time execution has stopped: at any kind of
breakpoint, while single-stepping, or when execution is complete.
However, if the application redefines interrupts, Restart may not
work correctly.
See: ◄Executing Code►
◄Restart (Notes)►
NOTE: The Restart command is not available in CVW. To restart the
application you are debugging, make sure you have set a
breakpoint in the application (at WinMain, for example),
then start it from Windows.
-♦-