Keil Logo

µVISION DEBUGGER: Modifying Watch Window Values

Information in this article applies to:

  • µVision4 -- All versions


I have the following function:

void receive_data (unsigned char length) {
  unsigned char format;


When I am in the function, the watch window displays the format variable without any problems. But when I try to change the value for that variable in the watch window, the debugger immediately changes the value back to it's original value.

How can I change this variable's value in the watch window?


The variable that you view in the watch window is a local variable that is defined locally in a function. To allow this value to be modified in the watch window, you must enter it as a fully qualified symbol using:


This is explained in more detail under Fully Qualified Symbols in the µVision User's Guide.



Last Reviewed: Monday, September 26, 2016

Did this article provide the answer you needed?
Not Sure
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.