The following commands are used to start the debugger, bring
a program under debugger control, and interrupt and end a
debugging session. Except where the DCL RUN and DEBUG commands
are indicated specifically, all commands are debugger commands.
DEBUG/KEEP (DCL RUN Starts the debugger
command)
RUN program-image Brings a program under debugger control
RERUN Reruns the program currently under
debugger control
RUN program-image If the specified image was linked using
(DCL RUN command) LINK/DEBUG, starts the debugger and also
brings the image under debugger control.
When you start the debugger in this
manner, you cannot then use the debugger
RUN or RERUN commands. You can use the
/[NO]DEBUG qualifiers with the RUN command
to control whether the debugger is started
when the program is executed.
EXIT, Ctrl/Z Ends a debugging session, executing all
exit handlers
QUIT Ends a debugging session without executing
any exit handlers declared in the program
Ctrl/C Aborts program execution or a debugger
command without interrupting the debugging
session
(SET,SHOW) ABORT_KEY (Assigns, identifies) the default Ctrl/C
abort function to another Ctrl-key
sequence, identifies the Ctrl-key sequence
currently defined for the abort function
Ctrl/Y-DEBUG Interrupts a program that is running
(DCL DEBUG command) without debugger control and starts the
debugger
ATTACH Passes control of your terminal from the
current process to another process
SPAWN Creates a subprocess, enabling you to
execute DCL commands without ending a
debugging session or losing your debugging
context