Inspect Manual
Using Inspect With TAL and pTAL
Inspect Manual—429164-006
13-12
DISPLAY
When you use a code offset to specify the location of a code breakpoint, Inspect
does not ensure that the location specifies executable code. If the location is in a
P-relative array, the breakpoint may alter the data in the array.
Because a data breakpoint is associated with a single word, an identifier
designating multiple words (STRUCT, INT(32), REAL(64) and so on) has only its
first word marked as the breakpoint. If an identifier is declared to be at an address
within such a multiple-word item, allowing you to read or modify a subsequent word
of such a variable without affecting the primary word, the debugging facility will not
signal a debug event.
If you set a data breakpoint within a string item, and your program uses a move
statement (X ':=' Y FOR 25) to move a value to the string, the break event will
occur before the move operation is complete.
DISPLAY
To display the contents of a TAL or pTAL pointer (that is, the address to which it
points), use an address-of expression; for example:
-TALOBJ-DISPLAY ( @pointer )
HELP
You can ask for help on the definitions of Inspect command parameters. Therefore,
you can find out what Inspect recognizes as a TAL or pTAL data location, a TAL or
pTAL code location, a TAL or pTAL expression, or a TAL or pTAL conditional
expression.
INFO IDENTIFIER
If you request a listing of the attribute of an unqualified data name, Inspect will list
all possible instances of that data name (that is, the same name in various
subprocedures or substructures).
If you request a listing of the attributes of an entire procedure, they are listed in an
order determined by the compiler. For TAL and pTAL, this order is:
1. Data identifiers that are not structure names
2. Structure names
3. Labels
In addition to providing attribute information for code and data locations, Inspect
can provide information about TAL and pTAL defines. When you request the
attributes of a define, Inspect displays the first 68 characters of the text associated
with the define.