Aug 1, 1979
Comparison of CP andC!VIS Facilities for Debugging
If you are debugging problems while runningCMS, you can choose the CP or CMS debugging tools. Refer to Figure 7 for a comparison of the CP and CMS debugging tools, Function CP CMS 1 -----------------------------------------------------------------------------------1 Setting address
stopsICan set only one address stoplCan set up to 16 address I at a time. I stops at a time. I I I I I ----------------------------------------------------------------------------1
L
Dumping
storage
contents
to the
printerIThe dump is printed in hexa- IThe dump is printed in hexa- 1 decimal format with EBCDIC i decimal format. The storage 1 translation. The storage ad-I address of the first byte of
dress of the first byte of ! each line is identified at
each line is identified atI the left. The contents of
the left. The controlblocksl general and floating-point
are formatted. i registers are printed at theI beginning of the dump.
DisplayingiThe display is typed inhexa-IThe display is typed in hexa
the con-i decimal format withEBCDIC I decimal format. The CMS com
tents ofI translation. The CP command I mands QQ n01 display storage
storageI displays storage keys, I keys, floating-point regis
andI floating-point registers andl ters, or control registers,
control,control registers. , as the CP command does: registers, I at the I I terminal , I Storing informa
tion
Tracing
informa
tion.
The amount of information
stored by theCP command is
limited only by the length
of the input line. The in
formation can be fullword
aligned when stored.CP stores data in the PSW, but
not in theCAW or CSW. How- ,The CMS command stores up to , 12 bytes of information. CMS , stores data in the general I registers but not in the I floating-point or control I registers. CMS stores data , in the PSW, CAW, and CSW. I ever, data can be stored in I the CSW or CAW by specifyingl
the hardware address in the, STORE command. CP also I stores the status of the , virtual machine in the , extended logout area. , ICP traces: I • All interrupts, instruc- , tions, and branches I & SVC interrupts I • I/O interrupts I • Program interrupts f • External interrupts , • Privileged instructions I • All user I/O operations I • Virtual and real CCW's I • All instructions , IThe CP trace is interactive. I You can stop and display I other fields. ICMS traces all SVC inter
rupts.CMS displays the
contents of general and
floating-point registers
before and after a routine
is called. The parameter
list is recorded before a
routine iscalled. ________________________ ---- ________ __________________ -- ___________________ __J Figure 7. Comparison of CP and eMS Facilities for Debugging Part 1. Debugging with VM/370 37
Comparison of CP and
If you are debugging problems while running
stops
L
Dumping
storage
contents
to the
printer
dress of the first byte of ! each line is identified at
each line is identified at
the left. The control
are formatted. i registers are printed at the
DisplayingiThe display is typed in
the con-i decimal format with
tents of
storage
and
control
tion
Tracing
informa
tion.
The amount of information
stored by the
limited only by the length
of the input line. The in
formation can be fullword
aligned when stored.
not in the
the hardware address in the
rupts.
contents of general and
floating-point registers
before and after a routine
is called. The parameter
list is recorded before a
routine is