VS 2017 - Very slow (laggy) when debugging

前端 未结 16 1459
名媛妹妹
名媛妹妹 2021-01-30 19:51

When I debug my solution, vs 2017 is very laggy and slow it\'s like it has to operate something heavy in the background.

So it stops \"responding\" every 5 seconds for 2

相关标签:
16条回答
  • 2021-01-30 20:06

    workaround that I used was to run msvcmon.exe locally with admin mode before starting the debugger. Then start the attach window and providing the remote debugging port.

    0 讨论(0)
  • 2021-01-30 20:07

    I also had this problem, for me helped disabling Enable Edit and Continue options in Tools → Options → Debugging → General.

    0 讨论(0)
  • 2021-01-30 20:08

    I have tried disabling few things myself just to see what is causing it. The only thing that did work for me is Tools > Options > Debugging > General > "Enable JavaScript debugging for ASP.NET (Chrome and IE)".

    I'm using VS2017 Enterprise v15.2 for Asp.net WebForms.

    0 讨论(0)
  • 2021-01-30 20:11

    After some additional investigation I found this thread Unchecking Enable Diagnostic Tools while debugging in Tools → Options → Debugging → General did the trick!

    Unchecking Enable JavaScript debugging for ASP.NET in
    Tools → Options → Debugging → General
    makes a huge difference in performance.

    0 讨论(0)
  • 2021-01-30 20:13

    If you are using VS 2017 Enterprise edition, try disable IntelliTrace feature (Tools -> Options -> IntelliTrace)

    with this feature turned off, the laggy behavior went away even keeping the Diagnostic tools turned on (Tools -> Options -> Debugging -> Enable Diagnostic Tools while debugging)

    0 讨论(0)
  • 2021-01-30 20:13

    choosing "Load only specified modules" did the trick (Tools=>Options=>Debugging=>Symbols)

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