The SVCTRACE command records information for all SVC calls. When the
trace is terminated, the information recorded up to that point is
printed at the system printer.
In addition, severalCMS commands produce or print load maps. These
load maps are often used to locate storage areas while debugging
programs.DEBUG The DEBUG command provides support for debugging programs at a terminal. The virtual machine operator can stop the program at a specified
location in order to examine and alter virtual storage,registers: and
various control words.Once CMS is in the debug environment, the
virtual machine operator can issue the variousDEBUG subcommands.
However, in the debug environment, all of the otherCMS commands are
considered invalid.
AnyDEBUG subcommand may be entered if CMS is
environment if the keyboard is unlocked. The followingDEBUG subcommands:
1. No operand should be longer than eight characters.
longer than eight characters are left-justified and
the right after the eighth character.
in the debug
rulesapply to
All operands
truncated on
2. The DEFINE subcommand must be used to create all entries in theDEBUG symbol table.
3. TheDEBUG subcommands can be truncated. The following is a list of
all validDEBUG subcommands and their minimum truncation. BREAK CAi CSi DEFINE DUMP GO GPR HI ORIGIN PSi RETURN SET STORE I Minimum !!Yll£g!i21l BR CAi CSW DEF DU GO GPR HI OR PSi RET
SET
ST
IOne way to enter the debug environment is to issue the DEBUG command.
TheIlessage DMSDBG728I DEBUG ENTERED
appears at the terminal. Any of theDEBUG subcommands may be entered.
To continue norma-lprocessing, issue the RETURN subcomm-and. ihenevera program check occurs, the DMSABN routine gains control. Issue the DEBUG command at this time if you wish CMS to enter the debug environment. Part 1. Debugging with VM/370 65
trace is terminated, the information recorded up to that point is
printed at the system printer.
In addition, several
load maps are often used to locate storage areas while debugging
programs.
location in order to examine and alter virtual storage,
various control words.
virtual machine operator can issue the various
However, in the debug environment, all of the other
considered invalid.
Any
environment if the keyboard is unlocked. The following
1. No operand should be longer than eight characters.
longer than eight characters are left-justified and
the right after the eighth character.
in the debug
rules
All operands
truncated on
2. The DEFINE subcommand must be used to create all entries in the
3. The
all valid
SET
ST
I
The
appears at the terminal. Any of the
To continue norma-l