& CRASH appears on the terminal. Follow the same procedure to enter subcommands and
resume processing as with a regular program check.
An external interrupt, which occurs when theCP EXTERNAL command is issued,
causesCMS to enter the debug environment. The message
DMSDBG728IDEBUG ENTERED
EXTERNAL INTERRUPT
appears on the console. Any of the DEBUG sub commands may be issued. To exit
from the debug environment after an external interrupt, useGO. While CMS is in the debug environment, the control words and low storage
locations contain the debug program values. The debug program saves the control
words and low storage contents(X'OO'. through X' 100'.) of the interrupted routine
at locationX'CO' ..
The&CRASH command is used as an aid in debugging the EXEC 2 interpreter DMSEXE and is intended to be used by system support people only. It is generally
only useful when used in conjunction with a current listing of module DMSEXE.
Note: The&CRASH command is not used for debugging programs or EXEC files
written in the EXEC 2 language. For information on debugging programs and
EXECs written in the EXEC 2 language, see the &TRACE command inVM / SP EXEC 2 Reference.
The format of the&CRASH command is: &CRASH [text]
where:
text if specified, is the character string contained in memory just
prior to the instruction that caused the&CRASH command to
be executed.
WARNING: Unless this command is used as described, abnormal termination ofCMS and loss of data may occur.
Usage Notes:
1.&CRASH should be used only after the CP TRACE PROG command is
issued.
2. Execution of the&CRASH command causes entry to CP command mode. One of the following statements should be issued to continue execution:
BEGIN intaddr+2 to continue execution
where:
intaddr+2 is the address of the interrupt plus two
-or-
Debugging With eMS 527
resume processing as with a regular program check.
An external interrupt, which occurs when the
causes
DMSDBG728I
EXTERNAL INTERRUPT
appears on the console. Any of the DEBUG sub commands may be issued. To exit
from the debug environment after an external interrupt, use
locations contain the debug program values. The debug program saves the control
words and low storage contents
at location
The
only useful when used in conjunction with a current listing of module DMSEXE.
Note: The
written in the EXEC 2 language. For information on debugging programs and
EXECs written in the EXEC 2 language, see the &TRACE command in
The format of the
where:
text if specified, is the character string contained in memory just
prior to the instruction that caused the
be executed.
WARNING: Unless this command is used as described, abnormal termination of
Usage Notes:
1.
issued.
2. Execution of the
BEGIN intaddr+2 to continue execution
where:
intaddr+2 is the address of the interrupt plus two
-or-
Debugging With eMS 527