Inspect Manual

Using Inspect in an OSS Environment
Inspect Manual429164-006
14-2
Ending an Inspect Session
Ending an Inspect Session
Ending an Inspect session is the same regardless of the platform or environment. An
Inspect session can be stopped in the following ways:
You exit by using the EXIT command or the RESUME * EXIT command.
Your last program has completed.
Your program is stopped by someone else.
Inspect’s System Type
Inspect uses the systype to determine certain command option defaults and to
determine the type of the file names accepted. A program can have a Guardian or an
OSS systype, Inspect’s systype will change to the systype of the current program.
Inspect commands accept different syntax depending on the current systype. For
example, if the current program is an OSS process, but Inspect’s systype is Guardian,
the following command results in a syntax error because the file specified is an OSS
pathname and not a Guardian file name.
-PROG- SOURCE AT #200 FILE /usr/src.file.c
A program’s systype is determined by the type of process it is (Guardian for Guardian
processes, or OSS for OSS processes). Commands have been added to Inspect to
change and display the current systype. For more information, see SET SYSTYPE on
page 6-192 and SELECT SYSTYPE on page 6-170.
The main result of the systype setting is the type of file name Inspect accepts. If the
current systype is Guardian, Inspect reads all file names as Guardian file names.
Inspect’s systype resets at each event. Inspect’s default systype is Guardian.
File Name Resolution
Inspect maintains a default subvolume and a default OSS directory. The current
default subvolume is used to resolve file names when Inspect’s systype is Guardian.
The current default OSS directory is used to resolve pathnames when Inspect has an
OSS systype.
If Inspect is started using the command interpreter (either TACL or at the OSS shell),
the default subvolume and default OSS directory are the command interpreter defaults,
that is, current working subvolume or current working directory. In all other cases,
such as RUND from TACL or run -debug from the OSS shell, the default subvolume
and default OSS directory is the logon defaults of the creator of the program being
debugged.
These commands can be used to resolve file name inconsistencies:
The VOLUME command can be used to change the default subvolume.