Keil Logo

µVISION DEBUGGER: WATCH VARIABLES DO NOT DISPLAY


Information in this article applies to:

  • µVision3 -- All versions

QUESTION

I have the following function:

void receive_data (char MsgNum) {
  static struct CanMsg sMsg;

  ...
}

When I am in the function, the watch window displays this variable without any problems. But when I restart the debugger, the watch window does not get restored.

What can be wrong?

ANSWER

The variable that you view in the watch window is a local variable that is defined locally in a function. You need therefore to enter it as a fully qualified symbol with:

\ModuleName\FunctionName\SymbolName

This is explained under Program Variables (Symbols) in the µVision User's Guide.

MORE INFORMATION

SEE ALSO

Last Reviewed: Wednesday, November 15, 2006


Did this article provide the answer you needed?
 
Yes
No
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.