CAUTION: Only one trace feature can be used at a time.
You can switch from one trace feature to the other by closing the tab view for the
open trace data, or by clicking on the Run → Trace menu item that has a
checkmark next to it to disable that trace feature.
Trace is an advanced debugging
capability that allows capturing various run-time analysis data, such as code
execution and system events, in real-time. Trace can be an invaluable tool to detect
complex, intermittent bugs and to profile and fine tune code performance.
Note: The availability of each type of trace can vary depending on
the device, debug probe, and host OS used.
There are several types of trace
available with CCS™ IDE:
- Core Trace: Provides a
history of program addresses that were executed
- EnergyTrace™: Provides
visibility into the energy usage of the device while running
- EnergyTrace++™:
Provides visibility into the energy usage of the device and also:
- Correlates the energy
consumption with the CPU states, including whether the device is in
active mode or one of the many low-power modes (LPM)
- Shows the ON-OFF
status of the peripherals and all system clocks (regardless of the
clock source) while running
For more information about Trace, see
https://software-dl.ti.com/ccs/esd/documents/users_guide_ccs_20.0.0/ccs_debug-trace.html.