LIST STATEMENT NUMBERS command
Lists all statement or line numbers that are valid locations for
an AT LINE
or AT STATEMENT
breakpoint.
NUMBERS
- Displays the statement numbers that can be used to set
STATEMENT
breakpoints, assuming the compile options used to generate statement hooks were specified at compile time. The list can also be used for theGOTO
command, however, you might not be able toGOTO
all of the statement numbers listed. - block_spec
- A valid block specification. This operand lists all statement or line numbers in the specified block.
- cu_spec
- A valid compile unit specification. For C programs, cu_spec can be used to list the statement numbers that are defined within the specified compile unit before the first function definition.
- statement_id_range
- A valid range of statement ids, separated by a hyphen (-).
Usage notes
- In the disassembly view,
LIST STATEMENT NUMBERS
is not supported.
Examples
- List the statement or line numbers in the currently qualified
block.
LIST STATEMENT NUMBERS;
- Display the statement or line number of every statement in block
earnings
.LIST STATEMENT NUMBERS earnings;
Refer to the following topics for more information related to the material discussed in this topic.
- Related references
- block_spec
- cu_spec
- statement_id_range and stmt_id_spec