Chris Martin
Chris Martin

Reputation: 1889

Why would the VS2010 Debugger Hang?

This just started happening on both my work box and home.

In Visual Studio 2010, I'll start a debugging session and the program will run to the first breakpoint and that's it.

I can hit F10/11/5 all I want. Nothing will happen. The only way to get out is a Shift+F5.

This driving me nuts!

Both machines are 64 bit Windows 7. Though, that's where the similarities end.

Is anyone else experiencing this?

Upvotes: 12

Views: 5556

Answers (1)

JaredPar
JaredPar

Reputation: 754525

In my experience the most common reason for Visual Studio hanging is a property is being auto-evaluated and gets stuck in native code causing a hang. The first step I would take would be to disable auto-evaluated properties and implicit function calls in the debugger.

  • Tools -> Options
  • Go to Debugger
  • Uncheck "Enable property evaluation and other implicit function calls"

Upvotes: 14

Related Questions