Why would the VS2010 Debugger Hang?

后端 未结 1 1552
悲&欢浪女
悲&欢浪女 2021-02-20 06:59

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 tha

1条回答
  •  悲哀的现实
    2021-02-20 07:29

    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"

    0 讨论(0)
提交回复
热议问题