All of a sudden I got the following error when debugging applications in Visual Studio 2010 beta 2.
"Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code is optimized"
Almost every property or field in the watch window displays this message. Does anyone know what is going on? and how to get rid of it?
The checkbox "Optimize code" on the project properties build tab is turned off.