TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-214
#INSPECT Built-In Variable
#INSPECT Built-In Variable
Use #INSPECT to set or obtain the current state of the inspect flag.
Result
#INSPECT returns the current state of the inspect flag: OFF, ON, or SAVEABEND.
Considerations
When you first log on, #INSPECT is initialized to OFF.
Use #PUSH #INSPECT (or PUSH #INSPECT) to save a copy of the current setting
of the inspect flag.
Use #POP #INSPECT (or POP #INSPECT) to restore the inspect flag from the
copy last pushed.
Use #SET #INSPECT (or SET #INSPECT) to set the state of the inspect flag. The
syntax of #SET #INSPECT is:
OFF
disables INSPECT and selects DEBUG as the default debugger. (DEBUG is
the system default debugging utility.) DEBUG then prompts for input when any
process created by the current TACL (or any of its descendants) enters the
debug state.
ON
selects the INSPECT symbolic debugger as the default debugger for all
programs started by the current TACL. INSPECT then prompts for input when
any process created by the current TACL (or by any descendant of the current
TACL) enters the DEBUG state.
SAVEABEND
establishes INSPECT as the default debugger and automatically creates a
save file if the program ends abnormally.
H-Series Usage
The program DEBUG is not available for use on systems running H-series software.
The DEBUG command invokes a debugger, it can be Inspect, Native Inspect
(eInspect, which is not in the family of Inspect debuggers), or Visual Inspect.
#INSPECT
#SET #INSPECT { OFF | ON | SAVEABEND }