I am busy using the mplab sim and stepping through code to try and get a understanding of exactly whats going on. Is there an easy way to view variables in the debugger.
If I have for eg.
Where can I view Var1? - I can find the memory location for Var1 and then watch that as I step through thru the code, but is there a easier way. There's view eeprom, file registers, hardware stack, but why no view variables or something like that?
Update: Doh - Think I found it - There's a watch - I just add the variables I want to view to this.
If I have for eg.
Code:
MOVLW 0xFF
MOVWF Var1
Where can I view Var1? - I can find the memory location for Var1 and then watch that as I step through thru the code, but is there a easier way. There's view eeprom, file registers, hardware stack, but why no view variables or something like that?
Update: Doh - Think I found it - There's a watch - I just add the variables I want to view to this.
Last edited: