Difference between revisions of "STRDBG"

From MidrangeWiki
Jump to: navigation, search
m (Linked to STRSRVJOB)
Line 11: Line 11:
 
*Positioning quickly to break points.  This only finds break point line.
 
*Positioning quickly to break points.  This only finds break point line.
 
  Next, Previous
 
  Next, Previous
 +
*Positioning to the next statement that can have a break point set
 +
F6 from the top of the source positions to the first F-specs
 +
F6 from the D-specs positions to the first I-spesc or C-specs if no I-specs.
  
  
 
== Debugging other jobs ==
 
== Debugging other jobs ==
 
Usually called service debugging.  You need to start the other job in service mode with [[STRSRVJOB]].  Run then STRDBG over the program.  Be prepared to watch the screen flash if you step through code.  The job to be service must be active in the system in order to use [[STRSRVJOB]].
 
Usually called service debugging.  You need to start the other job in service mode with [[STRSRVJOB]].  Run then STRDBG over the program.  Be prepared to watch the screen flash if you step through code.  The job to be service must be active in the system in order to use [[STRSRVJOB]].

Revision as of 19:00, 17 September 2007


This article is a stub. You can help by editing it.

STRDBG starts the standard debugger.

Debug tips

  • Seeing more than 1024 bytes of a character field, DS or array.
EVal Field :c number_of_bytes
  • Seeing the hex values of fields.
EVal Field :x number_of_hex_pairs
  • Positioning quickly to break points. This only finds break point line.
Next, Previous
  • Positioning to the next statement that can have a break point set
F6 from the top of the source positions to the first F-specs
F6 from the D-specs positions to the first I-spesc or C-specs if no I-specs.


Debugging other jobs

Usually called service debugging. You need to start the other job in service mode with STRSRVJOB. Run then STRDBG over the program. Be prepared to watch the screen flash if you step through code. The job to be service must be active in the system in order to use STRSRVJOB.