debugger goes off into the rough
matrixoperator
Posts: 8
I'm having difficulty with walking and stepping through many of my prgrams as the PC jumps to unused memory and gets lost including programs that run properly at full speed from the debugger or simply loaded and run from the IDE.
It is unusual because in some cases the jump out of bounds occurs in the same loop but at different times. Other times it seems to run fine, usually after exiting the debugger and reloading it.
Is this a common issue with the debugger or is this (as I suspect) something I'm over looking in the code?
Any clues as to where to look?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
reality is still analog
It is unusual because in some cases the jump out of bounds occurs in the same loop but at different times. Other times it seems to run fine, usually after exiting the debugger and reloading it.
Is this a common issue with the debugger or is this (as I suspect) something I'm over looking in the code?
Any clues as to where to look?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
reality is still analog
Comments
Often the debugger will go off into outer space if the code in the EEPROM doesn't match the source code being worked on. This can happen when there have been changes to the source but you use "Debug Again" instead of "Debug".
Thanks, PeterM