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

Defining Debug Equates and Function Keys
Debugging an NCL Process
106160 Tandem Computers Incorporated 9–11
Defining Debug
Equates and Function
Keys
DEBUG commands can exceed the length of the OCS command input line, especially if
the screen is vertically split into two OCS windows. For this reason and to reduce
typing, you may find it convenient to define local equate commands and function keys
that abbreviate lengthy DEBUG commands before starting your debug session. The
following NCL procedure displays some example EQUATE and FK commands you
can use:
zex0901n: PROCEDURE
CMD "-EQUATE RES DEBUG RESUME"
CMD "-EQUATE TRC DEBUG TRACE"
CMD "-EQUATE DISP DEBUG DISPLAY"
CMD "-EQUATE MOD DEBUG MODIFY"
CMD "-EQUATE HOLD DEBUG HOLD"
CMD "-EQUATE LOAD DEBUG LOAD"
CMD "-EQUATE BP DEBUG BREAKPOINT"
CMD "-EQUATE LBP DEBUG LIST BREAKPOINTS"
CMD "-EQUATE CBP+ DEBUG CLEAR BREAKPOINT="
CMD "-EQUATE SET+ DEBUG SET ID="
CMD "-EQUATE STEP DEBUG STEP"
CMD "-EQUATE STO DEBUG STEP NEXT=OUT"
CMD "-EQUATE STI DEBUG STEP NEXT=IN"
CMD "-EQUATE SO DEBUG SOURCE"
CMD "-FK F5 IMM,DEBUG SOURCE FW=10"
CMD "-FK F6 IMM,DEBUG STEP"
CMD "-FK F7 IMM,DEBUG RESUME"
CMD "-FK F8 PREF,DEBUG DISPLAY VBL="
CMD "-FK F14 PREF,DEBUG SOURCE FW="
END zex0901n
For the complete syntax of the NonStop NET/MASTER MS EQUATE and FK
commands, refer to the NonStop NET/MASTER MS Command Reference Manual.