NET/MASTER Network Control Language (NCL) Programmer's Guide
Displaying Decompiled Source Code
Debugging an NCL Process
9–36 106160 Tandem Computers Incorporated
Displaying a Single Statement at the Specified Nesting Level
To display a single statement at the specified nesting level, use the LOC operand of the
DEBUG SOURCE command, followed by a statement specification that provides the
names of all intermediate procedures and functions, as the following screen shows:
 (14:57) --------------------- OPERATOR CONTROL SERVICES ----------------------
 START ZEX0902N THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
 NNM1060 PROCEDURE ZEX0902N NCLID 1076 PAUSED
 DEBUG START ID=1076
 NNM1901 NCL 001076 DEBUG SESSION INITIATED
 NNM1902 NCL 001076 SUSPENDED AT ZEX0902N.8 LINE 22
 GO ID=1076 Y
 DEBUG SOURCE LOC=ZEX0902N.TOP_TITLE.1
 NNM1926 NCL 001076 LINE# SMT EV ON STMT-TEXT FROM ZEX0902N.TOP_TITLE
 NNM1927 NCL 001076 47 1 0 0 TOP_TITLE: FUNCTION
 NNM0999 *END*
 _____________________________________________________________________________
 ---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
 PM=>
In this example, the ZEX0902N NCL procedure is executed. The DEBUG START
command starts a debug session. The GO command resumes execution of the paused
NCL process. The DEBUG SOURCE command displays statement 1 of the nested
function TOP_TITLE—this is the FUNCTION statement.










