MFC C++/CLI project: /CLR switch in VS2012 causes debugging issues
问题 The company has upgraded our IDE from VS2008 to VS2012. When I try to debug my C++/CLI project (created with VS2008), I no longer seem to see items such as the 'this' pointer, STL containers, data members in structures, etc. From VS2012, I tried to create a new MFC "Multiple documents" project and set a breakpoint at the end of its CMainFrame::OnCreate(). Everything is fine when I debug, but as soon as I enable /CLR, I get the issue described above. Is there a new switch in VS2010/VS2012 that