Format
- tracei [if condition]
- tracei address [at address] [if condition]
- tracei address [in procedure] [if condition]
- tracei expression at address [if condition]
Description
The
tracei subcommand turns on tracing when:
- The contents of the storage at the address change, if the address argument
is specified.
- The instruction at the specified address is executed, if the ataddress option
is specified.
- The procedure specified by procedure is active, if the inprocedure option
is included.
- The condition specified by the condition argument is
true, if the ifcondition option is included.
Options
- ataddress
- Specifies an address. Tracing is enabled when the contents of
this address change.
- ifcondition
- Specifies a condition, the meeting of which causes tracing to
be enabled.
- inprocedure
- Specifies a procedure. Tracing is enabled when this procedure
is active.
Usage notes
The tracei subcommand can be run only while the dbx debug
program is running.
Examples
- To trace each instruction run, enter:
tracei
- To trace each time the instruction at address 0X100020F0 is run,
enter:
tracei at 0x100020f0
- To trace each time the contents of memory location 0X20004020
change while the main procedure is active, enter:
tracei 0x20004020 in main
- To trace at address 0x2d04567 only when thread $t2 reaches that
address, enter:
tracei at 0x2d04567 if $t2=$current
Related information
The trace subcommand.