The MPLAB® REAL ICE™ In-Circuit Emulator or MPLAB ICE 4 in-circuit emulator can work with PIC32MX device MIPS® iFlowtrace™ (if available on the device – consult the device data sheet).
The PIC32MX architecture provides a method of program flow tracing where trace data is compressed, encoded, and transmitted on four data lines and one clock line. This data is transmitted at key points or non-sequential instructions (e.g., branches, jumps) in the program flow. The cycle-by-cycle trace can then be reconstructed by MPLAB X Integrated Development Environment (IDE) and displayed in the trace window.
To take advantage of this feature, some provisions must be made on the target, namely that five lines on the device be dedicated for tracing (four data + one clock). These lines cannot be used for other data or a garbled trace may result.