5.10 Debugger Polling
MPLAB ICE 4 can be instructed by MPLAB Data Visualizer to repeatedly poll the Program Counter (PC) as fast as possible during active debug session with a target device. Though this will not yield a very high percentage of PC sampling or code trace, it can be useful in Code vs Power correlation to trap the areas of code which use more power than intended. As an example see the figure below.
For more on the MPLAB Data Visualizer, see MPLAB Data Visualizer webpage.