Shop OBEX P1 Docs P2 Docs Learn Events
stack trace corrupt — Parallax Forums

stack trace corrupt

MrlaserMrlaser Posts: 13
edited 2006-12-21 22:33 in General Discussion
I wrote a code to control some equipment, and it was working fine, until I made a small modification (I added one case in a switch statement) and all of the sudden my Javelin locks up.
I used the debugger, and found out now that I get a message [noparse][[/noparse]Error IDE-0015] Stack trace is corrupt.
Could someone point me in the direction of where to look to resolve this problem?
This error seems to appear when I call a·method that was executing perfectly fine before, and all of this even before I even reach the condition for the·new case that I added. This does not make much sense to me.
Any ideas?
Thanks.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Lasers will rule the World!

Comments

  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2006-12-21 22:18
    Can you post your code?

    regards peter
  • MrlaserMrlaser Posts: 13
    edited 2006-12-21 22:33
    Thanks for the reply. Actually, I just found the error. I was redefining the same variables in two different objects. Also, I realized I had define a variable as error, which I found was also used in the stamp Uart class.
    Anyway, it seems to run smoothly now.
    All I needed to do was to step back, write down all the variables in my entire code (the all thing is getting a bit complex, I have 5 different classes and 3 libraries, and there are 2 pages of just variable definition in total), and VOILA!! I had re-defined 3 arrays in 2 different classes.
    But thanks again for the response.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Lasers will rule the World!
Sign In or Register to comment.