NET/MASTER Network Control Language (NCL) Programmer's Guide

Debugging an NCL Process From Start to Finish
Debugging an NCL Process
9–72 106160 Tandem Computers Incorporated
Step 6
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 null Seems correct.
&DAYS 29 Seems correct.
&FIRST 7 Seems correct.
&LINE 30 blanks Seems correct.
&LINELENGTH null Seems correct.
Clear breakpoint 1 (at statement 42), by using the DEBUG CLEAR command, as
shown in the following screen. You have passed this breakpoint and it is no longer
required.
Resume execution to the next breakpoint, by using the DEBUG RESUME command, as
shown in the following screen.
(07:08) --------------------- 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 VAL " "
NNM1921 NCL 000670 VBL LINELENGTH VAL ""
NNM1921 NCL 000670 VBL DAYS VAL "29"
NNM1921 NCL 000670 VBL DAY ATTR NONEXIST VAL ""
NNM1921 NCL 000670 VBL FIRST VAL "7"
DEBUG CLEAR BREAKPOINT=1
NNM1916 NCL 000670 BREAKPOINT 1 CLEARED
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=>