This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Source file does not match PC when debugging in uVision3

Hello,

I am trying to debug some code using uVision 3.23. The code is in C++ and compiled with the version of GCC that is shipped by Keil.

When I load the image onto the target and "run to main()", the code appears to run correctly, but the debugger shows the current execution point to be in some completely unrelated header file.

Optimisation is disabled (ie. set to none). It appears to me that the debugger is incorrectly interpreting the symbol table.

I have searched the website but have not found any mention of this problem.

Any help would be appreciated.

Kind Regards,

0