Inspect Manual

Debugging Processes and Save Files
Inspect Manual429164-006
4-4
The Debugging Attributes of a Process
The Debugging Attributes of a Process
Each process has two debugging attributes, INSPECT and SAVEABEND. The
software sets the values of these attributes for a process when it starts the process.
The Inspect attribute determines which debugging tool (Inspect or Debug) to use for
the process.
Specifically, on a TNS/R system, these debugger selection rules apply:
The SAVEABEND attribute controls whether a save file is created automatically if the
process abends, and the SAVEABEND attribute interacts with the INSPECT attribute.
Specifically, on a TNS/R system, these rules apply for the SAVEABEND attribute:
For more information about debugger selection and debugging attributes on a TNS/E
system see Section 18, Using Inspect on a TNS/E System.
The system software sets the debugging attributes of a process when it starts the
process. To select the proper values, the operating system compares these three sets
of attribute values:
The attribute values found in the program file.
The attribute values of the creator of the process.
The attribute values specified in the call that creates the process. TACL specific
attribute values exist when the process is created based on the TACL SET
INSPECT command and the run line.
INSPECT
Attribute Meaning
INSPECT ON Selects either Inspect or Visual Inspect as the debugging tool for the
process.
To use Visual Inspect, you must have a client connection set up before
the debugger is invoked.
If neither Visual Inspect nor Inspect is available, Debug is selected as
the debugger of last resort.
Only Visual Inspect (not Inspect) can be used to debug TNS/R native
position-independent code (PIC) program files.
INSPECT OFF Selects Debug as the debugging tool for the process.
SAVEABEND
Attribute Meaning
SAVEABEND ON Specifies that a save file should be created if the process abends.
Setting SAVEABEND ON also sets INSPECT ON.
SAVEABEND OFF Specifies that a save file should not be created if the process abends.