262 VM/370 eMS Command and Macro Reference
DEBUG Subcommands Section 4. DEBUG Subcommands· This section describes the subcommands that
vou use the debug environment to test and debug environment is entered when:
are available to you when debug your programs. The The DEBUG command is issued from the CKS environment.
command is described in "Section 2. CMS Commands.")
(The DEBUG e An e[ternal interruption occurs.
by the CP ElTERN!L command.) (An external interruption is caused A breakpoint (instruction address encountered during program execution. (Breakpoints are set with the DEBUG Sllbcommand BREAK.) When the debug environment is entered, the contents of all general registers, the channel status word (CSW), and the channel address word (CAW) are saved so they may be examined and changed before being
restored when leaving the debug environment. If debug is entered via an
interruption, the old program status word (PSi) for that interruption is
also saved. If DEBUG is the first command entered after an abnormal
termination (abend) occurs, the contents of all general registers, the CSi, the CAW, and the old PSW are available from the time of the abend.
For hints on debugging your programs using the CMS debug environment,
consult the Guide.
Section 4. DEBUG Subcommands 263
Previous Page Next Page