Inspect Manual
Using Inspect With C++
Inspect Manual—429164-006
9-13
Command Usage Guidelines for C++ Programmers
Command Usage Guidelines for C++
Programmers
The following guidelines for C++ programmers using Inspect are arranged
alphabetically by Inspect command name. Not all commands are listed.
BREAK
A breakpoint set at the entry point to a function will occur before any initialization.
If you set a breakpoint at an entry point, you should enter a step over initialization
before accessing any data. Alternatively, a break set at the first line of a function
will have the desired effect.
DISPLAY
The default for numeric value conversion in C++, both for input and output, is
DECIMAL. If you want to use DISPLAY for a quick calculation when you are in a
C++ environment, and you want to enter octal numbers, you must either prepare
for it with a SET RADIX OCTAL command or preface each octal value with a
leading zero.
HELP
You can ask for help on the definitions of Inspect command parameters. Therefore,
you can find out what Inspect recognizes as a C++ data location, a C++ code
location, or a C++ expression.
INFO IDENTIFIER
In addition to providing attribute information for code and data locations, Inspect
can provide information about macros made using #define. When you request
the attributes of a macro, Inspect displays the replacement text associated with the
macro.
INFO OPENS
C++ programs begin execution with the following three files already open:
stdin Standard input
stdout Standard output
stderr Standard error
These files are part of the run-time environment for C++.