The Instruction Trace Window shows the history of executed
instructions. The window is:
Enabled for all non-Cortex-M processor-based devices when using
the µVision Simulator. (Refer to Trace Data Window for Cortex-M
processor-based devices.)
Enabled only for ARM devices when debugging on target
hardware.
For non-ARM devices, use the Disassembly Window with similar
features when debugging on hardware.
Open the
window from the toolbar or from the menu View – Trace -
Instruction Trace Window. Enable the flag View – Trace -
Enable Trace Recording.
Where
Filter
Allows selecting the following display modes:
Execution-Mixed shows the source code and the
assembler code.
Execution-Asm shows the assembler code
only.
Execution-Source shows the source code
only.
Nr.
Is a number reflecting the order of the executed
instructions.
Address
Is the memory address of the instruction.
Opcode
Is the operation code.
Instruction
Is the instruction itself. Can be the assembly or source
code.
Double-click any row to jump to the source code and
disassembly line that corresponds to the instruction.
Note
The window's look and feel might vary with the driver settings
of the debugging environment.
Refer to Configure Cortex-M Devices for Tracing of the
ULINKpro,
ULINK2,
or CMSIS-DAP
manual when using target hardware.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.