Make sure you are running the debug build, and that there are no optimizations enabled for this build (Hit ALT+F7, go to Configuration Properties -> C/C++ -> Optimization).
You can also try adding a breakpoint within the variable's scope, open the Command Window and enter variablename<enter>.
|