If you are new to using the MPLAB ICE 4 in-circuit emulator trace
feature, it is recommended that you read through the entire trace section for a full
understanding. Use this section as a quick reference for trace.
- 1.Select File>Project Properties>ICE4>Trace. Enable
trace, choose the trace method and set other trace options.
- 2.Select Window>Debugging>Trace to open the trace
window in which to view trace data.
- 3.Right click in your code to enter trace macros
(
__TRACE
, __LOG
) as desired.
- 4.Debug Run your project.