Visual Studio 2010 doesn’t display debug info for local variables. I have no problem seeing my class variables though. Is there some setting that I’m missing?
This is a “debug” build.
I tried going to Project Properties -> C++ -> Optimizations and disable all optimizations.
This can help.
http://support.microsoft.com/kb/2452649
This is the main entry
http://social.msdn.microsoft.com/Forums/en/vsdebug/thread/6133b9d0-81c6-4e30-bfe5-5b3d6e104300