4.6 PIC32M MCU - On-Chip Debugging
PIC32M MCU devices support two types of debugging: (1) In-Circuit Serial Programming™ (ICSP™) and debugging using the PGECx and PGEDx pins or (2) 4-wire MIPS® Enhanced JTAG.
The MIPS32 M4K Processor core provides for an Enhanced JTAG (EJTAG) interface for use in the software debug of application and kernel code. In addition to the standard JTAG instructions, special instructions defined in the EJTAG specification define which registers are selected and how they are used. For details on this interface, see your device data sheet.
In addition there are unlimited program and six complex data breakpoints. See your device data sheet for details on debug features for your specific PIC32M device.