stopi subcommand for dbx: Stop at a specified location
Format
- stopi address [if condition]
- stopi [address] at address [if condition]
- stopi [address] in procedure [if condition]
Description
The stopi subcommand sets a stop at the specified location.
- With the ifcondition option, the program stops when the condition is true.
- With the address argument, the program stops when the contents of address change.
- With the ataddress option, a stop is set at the specified address.
- With the inprocedure option, the program stops when the procedure specified with the procedure argument is called.
Options
- ifcondition
- Specifies the condition, such as true.
- inprocedure
- Specifies the procedure to be called.
- ataddress
- Specifies the machine instruction address.
Usage notes
The stopi subcommand can be run only while the dbx debug program is running.
Examples
- To stop execution at address 0X100020F0, enter:
stopi at 0x100020f0
- To stop execution when the contents of address 0X100020F0 change,
enter:
stopi 0x100020f0
- To stop at address 0x2d04567 only when thread $t2 reaches that
address, enter:
stopi at 0x2d04567 if $t2=$current
Related information
The stop subcommand.