Shop OBEX P1 Docs P2 Docs Learn Events
debugger goes off into the rough — Parallax Forums

debugger goes off into the rough

matrixoperatormatrixoperator Posts: 8
edited 2006-10-13 14:50 in General Discussion
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

Comments

  • PJMontyPJMonty Posts: 983
    edited 2006-10-13 05:07
    Matrixoperator,

    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
  • YendorYendor Posts: 288
    edited 2006-10-13 14:50
    Also, if you're doing any math, check for divide by zero errors.
Sign In or Register to comment.