How do I watch variable values in real time in MPLab? I tried the View -> Watch and entered in the variables, but they are not updating. Do I need to run MPLab in Debug mode to view these variables in real time?
You need to compile with Debug and set a breakpoint. Variables will only update when a breakpoint is reached or CPU is halted.How do I watch variable values in real time in MPLab? I tried the View -> Watch and entered in the variables, but they are not updating. Do I need to run MPLab in Debug mode to view these variables in real time?
I think your gonna need an ICE to do that in real time while the chips banging. Other wise you can go into debug mode and it will update the variables after a breakpoint or on pause in simulation.How do I watch variable values in real time in MPLab? I tried the View -> Watch and entered in the variables, but they are not updating. Do I need to run MPLab in Debug mode to view these variables in real time?
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
S | Spectrum alalyzer and debugging wireless communication | Wireless & RF Design | 6 | |
The target device is not ready for debugging. | Microcontrollers | 7 | ||
MPLABX debugging | Microcontrollers | 5 | ||
How to start debugging with MPLAB | Microcontrollers | 34 | ||
V | MPLAB debugging question | Microcontrollers | 3 |
by Jake Hertz
by Duane Benson
by Duane Benson
by Jake Hertz