Hello,
I am using MS Visual C++ 2010 Express. I am trying to debug a program. In the .cpp program I go from the main() function to another (secondary) function. The variables that are declared in the main() function are able to be seen by the hover watch in the secondary function - when I hover the cursor on the variable name in global scope I can see their values. But I cannot see the values of the variables declared locally within the secondary function by using hover watch. When I try to add the local variable (local to the secondary function) to the Watch window, I get the message CXX0017: Error: symbol "variable_name" not found. My debugging is not possible without being able to see the values of all the local variables within secondary functions. Any help and advise would be appreciated. Thanks.