Inspect Manual

Using Inspect With FORTRAN
Inspect Manual429164-006
11-3
Usage Considerations
entry-point
specifies an entry point.
statement-number
specifies the statement beginning at the given statement number. The SET
LOCATION FORMAT command is used to differentiate between statement-
label and statement-number. For more information, see Usage Considerations.
To see statement numbers, use the SOURCE command after you have set
your location format to statements. For more information, see SET LOCATION
FORMAT on page 6-175.
#line-number [ (source-file) ]
specifies the statement beginning at a given line number in the source file.
(source-file) qualifies the line number by the source file containing it. You
need to use this option only if the source code for the given program unit is in
more than one file.
offset
specifies an offset from the code location defined by the preceding options. A
positive offset (+) denotes code following the specified code location; a negative
offset (-) denotes code preceding the specified code location. The amount to offset
is specified by a given number of units. If you omit the unit specifier, Inspect selects
STATEMENT as the code unit for FORTRAN. Inspect code units correspond to
FORTRAN code units as follows:
Usage Considerations
Inspect does not recognize variables used as labels (by the ASSIGN statement) as
code locations.
Certain labeled or unlabeled FORTRAN statements might not generate any code;
they mark locations in the program. Among these statements are CONTINUE,
END, and ENDIF. Because such statements do not generate any code, Inspect
does not recognize them as statements.
A CONTINUE statement that ends a DO loop does generate code because the
code for the DO loop control is located there. (For more information about the
STEP command, see Command Usage Guidelines for FORTRAN Programmers on
page 11-11.)
INSTRUCTION Specifies a machine-code instruction.
STATEMENT Specifies a FORTRAN statement.
VERB Specifies a FORTRAN statement, as does STATEMENT