Unable to view values of variables while debugging

Posted by RexM on Stack Overflow See other posts from Stack Overflow or by RexM
Published on 2009-03-09T04:08:48Z Indexed on 2010/03/26 10:43 UTC
Read the original article Hit count: 382

Filed under:
|
|

I'm trying to debug portions of the current application I'm working on, however when I try and check the value of a property/variable I get the error:

Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code is optimized.

This is just a regular ASP.NET project. In some portions of the application I can view the properties and variables perfectly fine. I haven't figured out what's different about the blocks of code that I can and can not see the values of the variables in.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET