Native Inspect Manual (H06.13+, J06.03+)

Related Commands: Detach is the complement of the attach command. (See attach Command
(page 66).)
detach [pin] | [$process-name]
Where:
pin
The process number of a process under the control of Native Inspect from which you want to
detach.
$process-name
The name of the process or process-pair under the control of Native Inspect from which you
want to detach.
Considerations
Before entering the detach command, you should typically clear all breakpoints in the process
and continue process execution. If breakpoints are set in the process, Native Inspect displays
a confirmation prompt.
If the process you name in a detach command is suspended, it will automatically be resumed.
If you enter the detach command when breakpoints are set in the process, Native Inspect
issues a warning describing the situation and gives you the option of continuing or aborting
the operation.
Example
See the section titled: Example of Using Multiple Instances of Native Inspect (page 26)
dir Command
Appends a specified directory to the search path that Native Inspect uses to locate source files.
The directory search path is shared by all programs that are currently being debugged by Native
Inspect.
You typically use the dir command to help Native Inspect find source files when their current
location differs from the location at which they were compiled, but their base file name remains
the same. You use the related map command (see map-source-name (map) Command (page 99))
to specify base file name changes between compilation and debugging.
If you do not specify a directory, the search path is reset to empty (that is, Native Inspect searches
for source files only in the directory from which the source file was compiled).
dir [directory]
Where:
directory
The name of a local NonStop Guardian subvolume ($volume.subvolume) or an OSS
directory (/h/usr/rell/src) that you want to append to the search path for source files.
Related Commands: The list command (see list Command (page 94)), the map command (see
map-source-name (map) Command (page 99)), and the show command with the directories option
(see show Command (page 116)).
Example
In the following example, $cdir represents the compilation directory, and $cwd represents the
current working directory. To set a source subvolume search path and display the current subvolume
search path, use the following commands:
(eInspect 5,855): dir $d0117.test
Source directories searched: $d0117.test:$cdir:$cwd
(eInspect 5,855): dir $d0117.kris
74 Native Inspect Command Syntax