Visual Studio 2010 Function evaluation disabled
Posted on 2011-02-22
I have an issue with a VS 2010 .net 3.5 web application now that I have moved from using XP (and IIS5.1) to windows 7 (and IIS7) as my development machine.
When I debug the webapp and attempt to inspect a List<> or indeed other kinds of collection in the debugger I am met with the cursor spinning for a number of seconds and then presented with the message "Function evaluation disabled because a previous function evaluation timed out. You must continue execution".
I have trawled through a number of blog, forum and microsoft pages and cannot see anything that relates directly to my scenario.
The main microsoft line seems to be that someone could have written complex "get" functionality for the property that is being inspected, in my case this error occurs even when I try to inspect the list items of a DropDownList control.
I have also read through an article on msdn which explains how to place the application in IIS7 classic mode (which i have done) which is meant to provide backward compatability (even though i would expect a .net 3.5 webapp and VS2010 to work ok with IIS7) but this had no affect and the issue continues to occur.
Result of this is that i cannot debug my code so If anyone has experienced this issue or is aware of a fix then please can you let me know
PS - I have seen a thread which suggests that the issue is that windows authentication is not enabled, i have tried enabling this and this still did not fix the issue