NET/MASTER Network Control Language (NCL) Programmer's Guide
Debugging an NCL Process From Start to Finish
Debugging an NCL Process
9–70 106160 Tandem Computers Incorporated
Step 5
Display the source code at statement 42, the current statement, by using the DEBUG
SOURCE command, as shown in the first of the following two screens.
Display the values of all variables, by using the DEBUG DISPLAY command, as
shown in both of the following two screens. In particular, examine the values of all
variables and notice that the variables appear to have their correct values.
Resume execution to the next breakpoint, by using the DEBUG RESUME command, as
shown in the second of the following two screens.
Screen 1 of 2
(07:06) --------------------- OPERATOR CONTROL SERVICES ----------------------
DEBUG SOURCE
NNM1926 NCL 000670 LINE# SMT EV ON STMT-TEXT FROM ZEX0904N
NNM1927 NCL 000670 43 42 0 0 &LINE = COPIES( " ", &FIRST-1 )
NNM0999 *END*
DEBUG DISPLAY VBL=*
NNM1921 NCL 000670 VBL 1 VAL "02"
NNM1921 NCL 000670 VBL 2 VAL "2020"
NNM1921 NCL 000670 VBL DAYS. VAL ""
NNM1921 NCL 000670 VBL DAYS.01 VAL "31"
NNM1921 NCL 000670 VBL DAYS.02 VAL "29"
NNM1921 NCL 000670 VBL DAYS.03 VAL "31"
NNM1921 NCL 000670 VBL DAYS.04 VAL "30"
NNM1921 NCL 000670 VBL DAYS.05 VAL "31"
NNM1921 NCL 000670 VBL DAYS.06 VAL "30"
NNM1921 NCL 000670 VBL DAYS.07 VAL "31"
NNM1921 NCL 000670 VBL DAYS.08 VAL "31"
NNM1921 NCL 000670 VBL DAYS.09 VAL "30"
NNM1921 NCL 000670 VBL DAYS.10 VAL "31"
NNM1921 NCL 000670 VBL DAYS.11 VAL "30"
NNM1921 NCL 000670 VBL DAYS.12 VAL "31"
NNM1921 NCL 000670 VBL FIRST VAL "7"
AUTO HOLD ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>