Inspect Manual
High-Level Inspect Commands
Inspect Manual—429164-006
6-168
Usage Consideration
program
specifies a program using one of several formats. program-number identifies a
program by its program number (as shown by the LIST PROGRAM command).
program-name identifies a program by its program name (as shown by the LIST
PROGRAM command). cpu,pin identifies a process by its process ID (CPU
number and process number).
CODE code-file
directs Inspect to retrieve symbol information from an object code file different from
the one used to create the process (or the process that was saved). Cannot be
used to specify a TNS/E native object file.
LIB lib-file
directs Inspect to retrieve symbol information from a library file different from the
one associated with the process (or the process that was saved). Cannot be used
to specify a TNS/E native object file.
SRL srl-file
directs Inspect to retrieve symbol information from a SRL file different from the one
associated with the process (or the process that was saved). The SRL clause is a
single filename, or comma separated list of filenames.
Usage Consideration
Using the CODE and LIB Clauses
Inspect provides the CODE and LIB clauses so that you can obtain symbol
information even when the object or library file does not contain symbols. For
example, most applications include symbols only during their development—the
symbol information is stripped out before distribution. If a bug is then discovered,
the customer can make a save file and return it to the developers. Using the CODE
and LIB clauses, the developers can then associate their versions of the object and
libraries (with symbols) to the save file, therefore enabling them to use high-level,
symbolic Inspect to locate the problem more quickly.
On a TNS/E system, the CODE and LIB clauses cannot be used to specify a
TNS/E native object file. If you do so, Inspect displays an error message (“Inspect
cannot read a TNS/E object file”).
Related Commands
ADD PROGRAM on page 6-10
LIST PROGRAM on page 6-137
PROGRAM on page 6-156
STOP on page 6-215