| |||||
Technical Support Support Resources
Product Information | µVISION DEBUGGER: WATCH VARIABLES DO NOT DISPLAYInformation in this article applies to:
QUESTIONI 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? ANSWERThe 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 | ||||
| |||||