NET/MASTER Network Control Language (NCL) Programmer's Guide
Debugging an NCL Process From Start to Finish
Debugging an NCL Process
9–74 106160 Tandem Computers Incorporated
Step 8
Display the source code at statement 44, by using the DEBUG SOURCE command, as
shown in the following screen.
Display the values of the variables used to draw the calendar, by using the DEBUG
DISPLAY command, as shown in the following screen. The following table analyzes
the current values of the variables used to draw the calendar:
Variable Value Comment
&DAY 1 Seems correct; the loop counter has not incremented yet.
&DAYS 29 Seems correct.
&FIRST 7 Seems correct.
&LINE null Seems correct; the value is null after displaying a line.
&LINELENGTH null Seems correct; the value is null after displaying a line.
Resume execution to the next breakpoint, by using the DEBUG RESUME command, as
shown in the following screen.
(07:11) --------------------- OPERATOR CONTROL SERVICES ----------------------
DEBUG SOURCE
NNM1926 NCL 000670 LINE# SMT EV ON STMT-TEXT FROM ZEX0904N
NNM1927 NCL 000670 47 44 0 0 DO &DAY = 1 TO &DAYS BY 1
NNM0999 *END*
DEBUG DISPLAY V=LINE V=LINELENGTH V=DAYS V=DAY V=FIRST
NNM1921 NCL 000670 VBL LINE ATTR NONEXIST VAL ""
NNM1921 NCL 000670 VBL LINELENGTH VAL ""
NNM1921 NCL 000670 VBL DAYS VAL "29"
NNM1921 NCL 000670 VBL DAY VAL "1"
NNM1921 NCL 000670 VBL FIRST VAL "7"
DEBUG RESUME
NNM1905 NCL 000670 RESUMED
NNM1936 NCL 000670 VBL LINELENGTH WRITE ACCESS
NNM1902 NCL 000670 SUSPENDED AT ZEX0904N.47 LINE 55
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>