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

Displaying Decompiled Source Code
Debugging an NCL Process
106160 Tandem Computers Incorporated 9–35
Displaying a Single Statement at the Current Nesting Level
To display a single statement at the current nesting level, use the LOC operand of the
DEBUG SOURCE command, followed by a statement number, as the following screen
shows:
(14:50) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX0902N THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
NNM1060 PROCEDURE ZEX0902N NCLID 1073 PAUSED
DEBUG START ID=1073
NNM1901 NCL 001073 DEBUG SESSION INITIATED
NNM1902 NCL 001073 SUSPENDED AT ZEX0902N.8 LINE 22
GO ID=1073 Y
DEBUG SOURCE LOC=1
NNM1926 NCL 001073 LINE# SMT EV ON STMT-TEXT FROM ZEX0902N
NNM1927 NCL 001073 1 1 0 0 ZEX0902N: PROCEDURE EXTPARSE SIMPLE
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 the specified statement at the
current nesting level—this is statement 1, the PROCEDURE statement.