VS 2017 - Very slow (laggy) when debugging

前端 未结 16 1424
名媛妹妹
名媛妹妹 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 19:54

    Hiding the Threads window did the trick for me.

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

    In my case I had a break point with a condition that was never met. I had forgotten about about this break point altogether. Sometimes adding a simple condition to a break point can slow down the debugging speed a lot.

    Just adding this in case it might help someone.

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

    Only one thing that helped me was disabling Debugger option of Resharper. If you use Resharper, try to UNCHECK "Show local variables values in editor" in menu: Resharper -> Options -> Tools -> Debugger.

    It helped for me.

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

    Sometimes it is because of a Realtime scan in Antivirus.

    "Add exceptions" Visual Studio files/folders for your Antivirus

    C: \ Program Files (x86) \ Microsoft Visual Studio \ 2017 \ Professional \ Common7 \ IDE \ devenv.exe

    C: \ Program Files (x86) \ Microsoft Visual Studio \ 201

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

    If disable Diagnostic Tools don't fix the problem try to disable IntelliTrace, Unchecking Enable IntelliTrace, in Tools -> Options -> IntelliTrace. Work for me.

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

    What worked for me was removing all the following folders in the solution's directory:

    • .vs
    • x64
    • Debug
    • Release
    0 讨论(0)
提交回复
热议问题