cp & cms

4
CP & CMS Debugging Facilities

Upload: mercedes-soto

Post on 31-Dec-2015

21 views

Category:

Documents


0 download

DESCRIPTION

CP & CMS. Debugging Facilities. CP Display. Displays contents of memory, regs , PSW Display 0 100 200 displays 3 locations Display 0-200 displays x'0' through x'200' DisplayP displays the current PSW Display g5 displays general register 5 - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: CP & CMS

CP & CMS

Debugging Facilities

Page 2: CP & CMS

CP Display• Displays contents of memory, regs, PSW

Display 0 100 200displays 3 locations

Display 0-200displays x'0' through x'200'

Display Pdisplays the current PSW

Display g5displays general register 5

Display t 1000.100displays 100 bytes WITH EBCDIC

Page 3: CP & CMS

CP Trace sets

• A Trace set is a collection of trace commands• Trace command samples:– Trace inst r 1000-2000

start @ x’1000’ to address x’2000’– Trace inst r 1000.16

start @ x’1000’ for 16 bytes– Trace prog

traces program checks • addressing• operation• specification (alignment, etc)• privilege• protection

Page 4: CP & CMS

CP Trace sets (more)

• Additional operands– Run does not stop at each breakpoint– End deletes the trace set– Stop n stops after ‘n’ displays of trace data

– Step nis a repeating STOP specification– Stop 3 Step 9

pauses after the 3rd and 12th displays and for every 9th display thereafter.