tracei subcommand for dbx: Turn on tracing

Format

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

  1. To trace each instruction run, enter:
    tracei
  2. To trace each time the instruction at address 0X100020F0 is run, enter:
    tracei at 0x100020f0
  3. To trace each time the contents of memory location 0X20004020 change while the main procedure is active, enter:
    tracei 0x20004020 in main
  4. To trace at address 0x2d04567 only when thread $t2 reaches that address, enter:
    tracei at 0x2d04567 if $t2=$current

Related information

The trace subcommand.