Migrating from Inspect to Native Inspect
Migrating from Inspect to Native Inspect
Hewlett-Packard Company 543427-002 9 of 15
Execution Control
The step and next commands have
corresponding stepi and nexti
commands for stepping instructions.
To set a breakpoint at an address, use this
command:
b *address
Privileged Debugging
Like DEBUG or Inspect, you can use Native
Inspect to perform privileged debugging.
To enable privileged debugging, you must
log on as super ID and issue this Native
Inspect command:
priv on
Once enabled, you can examine privileged
memory regions. You can also load and use
symbols for privileged DLLs.
When privileged debugging mode is
enabled, the attach command issues a
DEBUGNOW request.
Switching Debuggers
Occasionally, you might need temporary
functionality provided by another debugger
or a different debugger than you started.
You can switch TNS/E native processes
between Native Inspect and Visual Inspect,
which provides a graphical user interface for
debugging.
To switch a process from Native Inspect to
Visual Inspect, establish a Visual Inspect
connection and issue the Native Inspect
switch command.
To switch a process from Visual Inspect to
Native Inspect, select Program > Switch to
System Debugger.
Convenience Commands
Inspect Difference: Native Inspect does not
support Inspect convenience commands, such as:
SET STATUS, SET PROMPT, ADD KEY,
and so on.
Changing the Working Directory
Native Inspect uses the cd or volume
command to change the current working
directory used for resolving unqualified
filenames. Use the pwd command to list
the current working directory.
NonStop Gotcha: When the debugger is
started automatically, as a result of a rund
command or process debug request, its working
directory is your logon subvolume/directory
NOT your current subvolume/directory.
Logging Session Output
To log the output of your debugging session,
use this command:
log file
If the log file already exists, output is
appended to it.
To disable logging, enter the command with
no arguments.
Command History
Native Inspect maintains a history of the
commands that you execute. To list
command history, use this command:
show commands
To edit the previous or a specified
command, use the fc (fix) command
command. To invoke a specified command,
use !command-number.
As of H06.07, you can reissue the following
commands by pressing the RETURN key:
list, finish, next, nexti, print,
step, stepi, and x.










