Previous Topic Next topic Print topic


Reload

Use

Reloads the user program.

Command Syntax

RELOAD [/ARGUMENTS command-line-arguments]
       [/NEWARG command-line-arguments]
       [< filename] 
       [> filename]

where:

command-line-arguments
Is a list of text strings to be passed to the user program as its arguments. This must be the last option on the RELOAD command line
filename
Is the pathname of any file

Description

The RELOAD command will reinitialize the user program while preserving any explicitly set breakpoints and any associated action lists. All breakpoint counters will be reset to zero.

A subsequent Continue or Step will execute the user program from the beginning.

Example

In this example, the debugging session is restarted in the original evaluation environment, with all breakpoints preserved and without returning to the system level.

CodeWatch> RELOAD
Command line : "primes"
Reloading..ok
Initial evaluation environment is PRIMES:(inactive) 
CodeWatch>

In this example, user program output is redirected to the file primes.out

CodeWatch> RELOAD > primes.out
Reloading..ok
Initial evaluation environment is PRIMES:(inactive) 
CodeWatch>
Previous Topic Next topic Print topic