Using Trace
Last modified by Microchip on 2023/12/20 21:08
After you set up trace hardware and set up trace with MPLAB® X IDE, you can begin using trace. On a Debug Run, trace will continue to fill the trace buffer with data, rolling over when the buffer is full, until a program Halt. For more on the trace buffer, see Real Time Hardware Instruction Trace Overview.
Viewing Trace Data
When trace is enabled and code is run, trace data will be collected by the emulator. Once the device is halted, trace data will be decoded and displayed in the Trace window (Window > Debugging > Trace).
Improving the Trace Experience
Remove as many USB devices from your PC USB ports as you can. This should improve trace throughput.