Open Project Properties window.
Select REAL ICE under Categories.
Select Clock from the Options Categories combo box
Only on PIC24/dsPIC33 devices: Use the internal fast RC (FRC) oscillator in debug mode for clocking instead of the oscillator specified for the application. This is useful when the application clock is slow. Reprogram after changing this setting.
Checking this box will let the application run at the slow speed but debug at the faster FRC speed. Peripherals that are not frozen will operate at the FRC speed while debugging.
Inform the REAL ICE how fast the core is running.
Example 1: For a PIC24 MCU and a target clock oscillator at 32 MHz (HS), instruction speed = 32 MHz/2 = 16 MIPS.
Example 2: For a PIC18F8722 MCU and a target clock oscillator at 10 MHz (HS) making use of the PLL (x4 = 40 MHz), instruction speed = 40 MHz/4 = 10 MIPS.