Inspect Manual
Debugging Processes and Save Files
Inspect Manual—429164-006
4-7
The Debugging Attributes of a Process
Note that Visual Inspect can only be selected when a matching client connection
already exists. If the Inspect subsystem is not available, the debugger of last resort is
the TNS/R system debugger, Debug.
Debugging Attributes in a Program File
Either Binder (for TNS program files) or the native linker (for TNS/R program native
files) sets the INSPECT and SAVEABEND attribute values of a program file when it
creates that program file. You can control the values set by Binder or the native linker
by using compiler directives, the BIND process's SET INSPECT and SET
SAVEABEND commands, or native linker options, as appropriate.
On a TNS/R system, the nld native linker sets INSPECT ON and SAVEABEND OFF by
default.
In most source languages, the compiler directives are called INSPECT and
SAVEABEND, but consult the appropriate reference manual for their exact form. For
more information about the SET INSPECT and SET SAVEABEND commands, see the
Binder Manual (for TNS or TNS/R systems), the nld Manual and noft Manual (for PIC
code on TNS/R systems), or the ld and rld Reference Manual (for TNS/E systems).
Debugging Attributes of a Process's Creator
Because the creator of a process is also a process (remember, the command
interpreter is a process too), the system selects the INSPECT and SAVEABEND
attribute values for the creator.
Debugging Attributes in the Call to Start a Process
There are several ways to start a process:
The command interpreter RUN[D] command
The TACL #NEWPROCESS built-in function
The system procedure calls NEWPROCESS, NEWPROCESSNOWAIT,
PROCESS_CREATE_, and PROCESS_LAUNCH_
Process Type INSPECT Attribute Debugger Precedence
TNS INSPECT ON Visual Inspect, Inspect, Debug
TNS INSPECT OFF Debug
TNS/R Native
non-PIC
INSPECT ON Visual Inspect, Inspect, Debug
TNS/R Native
non-PIC
INSPECT OFF Debug
TNS/R Native PIC INSPECT ON Visual Inspect, Debug
TNS/R Native PIC INSPECT OFF Debug