Local variables not visible in VS debugger when using 12.0 compiler
I'm having a lot of problems with local variables not being visible in the VS debugger when I compile with 126.96.36.199. It happens with both VS2008 and VS2010 (with & without SP1 beta). If I compile with 11.1.070 in VS2008 then the debugger works fine in both VS2008 & VS2010.
If I try to Watch the variables in VS2008 I get CXX0017 symbol not found. In VS2010 I mostly get CXX0069 variable needs stack frame, occasionally CXX0017.
My problem is specific to 12.0. It may or may not be related to for-loops. I made a test case with a VS2008 project but I'm having trouble adding it to the post; is there another way to send it? There are places marked //icl. If you compile with 12.0 you can't see locals at these points, but you can if you compile with 11.1.