Error 34

I have a compiled key scan program I wrote using the latest full version of C51. I went to the debugger (added my variables to watch window 1) and ran the code successfully. I returned to uVisionII. After looking the code over (no changes) I returned back to the debugger for a more thorough test of the code. Now debug refuses to accept some of the variables it previously accepted. I get an error 34 'undefined identifier' any time I try to add (specific variables) to the watch window.

I'm using XP Pro.

Is this a bug or what?

Please help
Brian

Parents
  • Hello Brian,
    Not that I'm an expert, but the problem is most probably that the variables are local.
    Try making them global, I think that you can then add them to the watch windows 1 or 2. Of course you can view them without adding them in the local watch window.

    Hope this helps somewhat

    Regards
    John

Reply
  • Hello Brian,
    Not that I'm an expert, but the problem is most probably that the variables are local.
    Try making them global, I think that you can then add them to the watch windows 1 or 2. Of course you can view them without adding them in the local watch window.

    Hope this helps somewhat

    Regards
    John

Children
More questions in this forum