Go to main content
Oracle® Developer Studio 12.6: Debugging a Program with dbx

Exit Print View

Updated: June 2017
 
 

tracei Command

The tracei command shows machine instructions, function calls, or variable changes. It is valid only in native mode.

tracei is really a shorthand for trace event-specification -instr where the -instr modifier causes tracing to happen at instruction granularity instead of source-line granularity. When the event occurs, the printed information is in disassembly format instead of source-line format.

Syntax

tracei step

Trace each machine instruction.

tracei next -in function

Trace each instruction while in the specified function.

tracei at address

Trace the instruction at address.

tracei in function

Trace calls to and returns from the specified function.

tracei inmember function

Trace calls to any member function named function.

tracei infunction function

Trace when any function named function is called.

tracei inclass class

Trace calls to any member function of class.

tracei change variable

Trace changes to the variable.

where:

address is any expression resulting in or usable as an address.

filename is the name of the file to which you want trace output sent.

function is the name of a function.

line is the number of a source code line.

class is the name of a class.

variable is the name of a variable.

See trace Command for more information.