NET/MASTER Network Control Language (NCL) Programmer's Guide
Debugging an NCL Process From Start to Finish
Debugging an NCL Process
106160 Tandem Computers Incorporated 9–79
Step 11
Repeat Step 10, modifying the value of &LINELENGTH to the correct length of
&LINE, until the DEBUG DISPLAY command shows that the length of &LINE is 35
characters and the value of &LINELENGTH is 35 characters, as shown in the following
screen.
Resume execution to the next breakpoint, by using the DEBUG RESUME command, as
shown in the following screen.
Stop Examine the display line; it looks correct and this suggests that you have found the bug.
Clear all remaining breakpoints, by using the DEBUG CLEAR command, as shown in
the following screen.
(07:20) --------------------- OPERATOR CONTROL SERVICES ----------------------
DEBUG SOURCE
NNM1926 NCL 000670 LINE# SMT EV ON STMT-TEXT FROM ZEX0904N
NNM1927 NCL 000670 55 47 12 0 IF &LINELENGTH%7=0
NNM0999 *END*
DEBUG DISPLAY V=LINE V=LINELENGTH V=DAYS V=DAY V=FIRST
NNM1921 NCL 000670 VBL LINE VAL " 2 3 4 5 6 7 8 "
NNM1921 NCL 000670 VBL LINELENGTH VAL "35"
NNM1921 NCL 000670 VBL DAYS VAL "29"
NNM1921 NCL 000670 VBL DAY VAL "8"
NNM1921 NCL 000670 VBL FIRST VAL "7"
DEBUG RESUME
NNM1905 NCL 000670 RESUMED
2 3 4 5 6 7 8
NNM1936 NCL 000670 VBL LINELENGTH WRITE ACCESS
NNM1902 NCL 000670 SUSPENDED AT ZEX0904N.47 LINE 55
DEBUG CLEAR BREAKPOINT=ALL
NNM1915 NCL 000670 2 BREAKPOINTS CLEARED
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>