Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

visual studio 2010 debugger hanging

The debugger is hanging intermittently but frequently for no obvious reason. It times out eventually and recovers.

I am using vs 2010 Microsoft Visual Studio 2010 Professional 10.0.30319.1 RTMRel, running a 4.0 client app on a Vista 64 o/s.

Has anyone else been having this issue too, and have a fix?

As a related aside, anyone know if there are any service releases yet??

Cheers,
Berryl

like image 449
Berryl Avatar asked Jun 26 '26 07:06

Berryl


2 Answers

Well, in 2005 and 2008 this happens all the time as well. Usually it has to do with (a) loading symbols from a public symbols server (yeah network I/O on the UI thread!), or (b) intellisense, or (c) you're debugging the network stack (or some other OS component) and Visual Studio is trying to use it (and things deadlock). If (b), wait for it to finish doing its thing before you start debugging. Sucks up front, but saves you time and frustration in the long run.

like image 99
i_am_jorf Avatar answered Jun 27 '26 22:06

i_am_jorf


There are no service packs for Visual Studio 2010 yet. I've also had problems in the debugger, and sadly the best advice I can give that has worked for me is to exit Visual Studio and re-open it.

like image 26
Bob Avatar answered Jun 27 '26 21:06

Bob