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

can't watch local variable

When I debug \Keil\ARM\RV30\RTL\Kernel\Examples\Measure\Measure.uv3,I want watch "cmdbuf[]" in Watch & Call Stack Window,when I use SARM.dll V1.5,watch data was right,but when I use SARM.dll V3.x,watch data was wrong.

Parents
  • I am running GNU 4.1.1, and one thing that the new version fixed was the ability to display bitfields correctly. However I lost the ability to do a mouseover on local variables and see their values correctly. Entering &varname into the memory window indicated that the debugger was looking in the wrong location since I could see the stack pointer in the register window, and could see that the debugger thought the variable was somewhere else. Manually entering the stack pointer into the memory window showed that the correct data was there, I just couldn't see it by doing a mouseover of the variable. Keil responded quickly to my support request and sent me a patch that fixed the problem. If you are using GNU and having problems, contact Keil support and ask for the patch (new version of SARM.dll) that resolves call #335962.

    Kathy

Reply
  • I am running GNU 4.1.1, and one thing that the new version fixed was the ability to display bitfields correctly. However I lost the ability to do a mouseover on local variables and see their values correctly. Entering &varname into the memory window indicated that the debugger was looking in the wrong location since I could see the stack pointer in the register window, and could see that the debugger thought the variable was somewhere else. Manually entering the stack pointer into the memory window showed that the correct data was there, I just couldn't see it by doing a mouseover of the variable. Keil responded quickly to my support request and sent me a patch that fixed the problem. If you are using GNU and having problems, contact Keil support and ask for the patch (new version of SARM.dll) that resolves call #335962.

    Kathy

Children