Requirements
Currently, to use PC sampling your project must be set up for:
a supported device:
PIC24F, PIC24EP
dsPIC33FJ, dsPIC33E
an MPLAB XC16 C Compiler version 1.10 or above
Parent topic:
PC Sampling – 16-Bit PIC MCUs Only