IBM 1130 User Manual page 216

Computing system
Hide thumbs Also See for 1130:
Table of Contents

Advertisement

Section
Subsections
Page
30
20
I
00
02
IF(IN(22)-1) 3,4, 5
3
CALL MOVE (IN, 1, 27, IWK, 1)
C-----TypE ZERO CARD
PAUSE 3
etc.
The PAUSE number will be displayed in the
accumulator. Use of this technique will let you fol-
low the logic of the program (IFs and GO TOs) wi th-
. out severely slowing its execution.
5. Additional Print Lines. This technique is
sometimes called" selective tracing". Again, rather
than severely slowing the execution of a program and
printing the result of every replacement operation,
only selected variables and/or fields will be printed.
Use of the FORTRAN WRITE statement or the 1130
Commercial Subroutine Package PRINT subroutine
will allow you to follow the progress of variables
and/or fields as their contents change during pro-
gram execution.
6. Console Debugging.
This technique should be
used only as a last resort.
It
involves manual in-
quiry into the system via the console switches, dials,
and keys. In most cases, the previously mentioned
techniques will provide you with all the information
necessary to debug.

Advertisement

Table of Contents
loading

Table of Contents