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

variables in these watch windows are not updating with the program flow properly. but later when we

Hi all
I am Vikas Kumar from Mindtree Consulting Pvt from India.

I am working with Keil Software uV2.

My Problem is, when i use debugger then there are three watch windows
Local
watch1
watch2

variables in these watch windows are not updating with the program flow properly. but later when we use these variable in other instruction after that perticular instruction( where they did not refelct in the watch windows) some time its using the correct one (means it have changed but not refelcted) .


So it becomes difficult to debug.
please tell me either how to update these windows or if its not possible then tell me how to watch correct value of the variables.

Parents
  • Are you using the simulator, or debugger?

    If debugger, how are you connected to your target?

    The Watch (and Registers, and Memory) windows don't update in real time while the code is running, but they should update as soon as you stop execution (whether manually or due to a breakpoint).

    See chapter 5 in the uVision2 Getting Started Guide (GS51.pdf)- accessible via the 'Books' tab in the Project Window.

    The 'Periodic Update' may not work, depending on how you connect to your target - see http://www.keil.com/support/docs/1618.htm

Reply
  • Are you using the simulator, or debugger?

    If debugger, how are you connected to your target?

    The Watch (and Registers, and Memory) windows don't update in real time while the code is running, but they should update as soon as you stop execution (whether manually or due to a breakpoint).

    See chapter 5 in the uVision2 Getting Started Guide (GS51.pdf)- accessible via the 'Books' tab in the Project Window.

    The 'Periodic Update' may not work, depending on how you connect to your target - see http://www.keil.com/support/docs/1618.htm

Children
No data