5.6 Debugger Polling

MPLAB ICD 5 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.

Figure 5-8. Debugger Polling