Reputation: 713
Whenever I try to debug a Visual Studio 2010 web project, VS hangs, and ultimately crashes. This happens if I try to start the project using F5, or through Attach to Process, before the process list even appears.
Hitting F5 in, for example, a Windows Form project works fine, but attach to process fails here too.
Any ideas on what can be causing this? Obviously attaching to the devenv.exe process won't work as I can't get the Attach to Process dialog to appear...
Oh, running W7 (x64), VS2010 SP1 (had same problems without SP1)
Upvotes: 3
Views: 2184
Reputation: 51
In Solution Explorer there is a Show All Files icon (highlighted in the photo below):
Make sure it's turned off, When It's turned on, Visual Studio tries to index all the files in the solution and if you have a giant Solution it could take forever!
I hope this has helped someone :)
Upvotes: 1
Reputation: 16616
In my case hangs when executable type was not correctly set, ex. Managed v4.0 and trying to attach to Native.
Upvotes: 0
Reputation: 1
Have you recently installed Mono and/or Mono Tools for VS2010? I found that to be the problem it my case. Not sure why, but it somehow got in the way.
Matthew
Upvotes: 0