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

debugger Watch window cannot show the true value

Hi,
I am using GNUARM 4.1.1, and the MCB2300 EVB for developement with the newest version V3.53 of uV3.
I am having a problem with the debugger watch window that it is not provide the true value of the variables, however, when I step throught the disassembly window, and monitor the memory window in the same time, the variables address and value are correct. What is the problem? Thanks in advance.

Raymond Ling
Integrated Corperation

Parents
  • Hi Raymond,

    I believe this is a longstanding bug in the Debugger - it has certainly been infuriating me for over a year.

    In my experience, it usually only applies to either automatic variables or when there are more than four parameters to a function. Global variables are usually displayed correctly.

    As you say, the code and the values used are correct - it's just the display that is wrong.

    Sometimes the value which is displayed by highlighting the variable in the source is correct, even when the Watch window value is not. I suspect the bug has to do with the values in the Watch windows not being updated properly as you step through the code.

    Can anyone from Keil comment on this one ?

    David.

Reply
  • Hi Raymond,

    I believe this is a longstanding bug in the Debugger - it has certainly been infuriating me for over a year.

    In my experience, it usually only applies to either automatic variables or when there are more than four parameters to a function. Global variables are usually displayed correctly.

    As you say, the code and the values used are correct - it's just the display that is wrong.

    Sometimes the value which is displayed by highlighting the variable in the source is correct, even when the Watch window value is not. I suspect the bug has to do with the values in the Watch windows not being updated properly as you step through the code.

    Can anyone from Keil comment on this one ?

    David.

Children