TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-86
#DEBUGPROCESS Built-In Function
If you are the super ID, you can debug any process. Only the super ID can debug
privileged processes.
The process to be debugged does not enter the debug state until it executes its
next instruction in the user code space; the process cannot enter the debug state
while executing system code. If you enter the NOW option, however, the process
enters the debug state immediately. To use this option, you must have a group ID
of 255.
To set or obtain the current value of the INSPECT flag, which determines the
default debugger, use the #INSPECT built-in function.
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.
The rules about which debugger gets invoked are approximately the same as for the
RUND command. That is, if the INSPECT attribute is set ON anywhere (in the object
file during compilation, or on the TACL command line using the SET command), you
will get a debugger in the Inspect family (either Inspect or VI), unless of course neither
of these debuggers is available, and then you get the default debugger, eInspect. If
the Inspect attribute is OFF, you get Native Inspect (eInspect).
Inspect is invoked only for TNS accelerated/interpreted programs (never for TNS/E
native programs), while Visual Inspect can handle both of these. Native Inspect
handles only TNS/E native programs and snapshots.