9 August 2011

Visual Studion 2010 Debugging Time Out.

One thing that has started to bother me since going to a VS 2010/IIS7 setup is that by default the time-out on the debugger is incredible short. You start looking into a problem and be on the point of realisation when a Message Box pops up saying that the thread is aborting.

Helpful, that is not.

After a little digging about I found that it has something to do with the application pool settings in IIS. To increase the time the thread is available open IIS Manager, open the application pool your site is running on and click "Advanced Settings". In the property dialog that comes up there is an item labelled "Ping Maximum Response Time (seconds)". Set this value to your desired value and click OK.

I have mine now set to 6000 which should be enough for now.

No comments: