Keil™, An ARM® Company

Technical Support

µ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