User`s guide
l From the command line with the DEBUG monitor command (see the V+ Operating
System Reference Guide for information on monitor commands).
l From the SEE editor with the Debug (S+F11) key or the DEBUG extended command.
(The function keys and the SEE editor extended commands are described in The SEE
Editor in Command Mode.)
NOTE:The program debugger cannot be invoked from the SEE editor when the editor has
been initiated with the SEE program instruction.
When a debugging session is initiated, two aspects of the debugging session need to be
established: the program task that is accessed for program execution and the program that is
displayed in the debugger edit window. The methods for providing this information depend on
how you invoke the program debugger, as described below.
Exiting the Debugger
Press Exit (F4) to exit the program debugger and return to the V+ system prompt. This
command is accepted in either debug mode.
In addition, in debug editor mode (in Command mode) you can use Alt+E to exit to the V+
system prompt (or Esc and E if your keyboard does not have an Alt key).
The DEBUG Monitor Command
The DEBUG monitor command allows you to invoke the debugger from the system prompt.
Syntax
DEBUG t prog, step
Parameter Descriptions
t
Initiates debugging in task number t. If the task number is not specified,
the task number is determined as follows:
If any execution task has terminated execution since the start of the last
debugging session, that task is assumed.
If no task has terminated since the previous debugging session, the
previous task is accessed again.
If neither of the above situations apply, the main control task (number 0)
is accessed.
(Commands affecting other tasks can still be entered, but their task
number must be specified explicitly.)
prog
The named program is displayed in the debugger edit window in read-only
The Program Debugger
V+Language User's Guide, v17.0
Page 86










