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 seconds, which is very annoying. Any suggestions?
EDIT (tried suggestions):
Unfortunately, debugger speed has some runtime limitations, which can't be easily fixed. If your code does some high performance computations, Debugger will be at least 3 times slower than usual Run.
You might have extensions installed that slow Visual Studio down. For help on managing extensions to improve performance, see Change extension settings to improve performance. Similarly, you might have tool windows that slow Visual Studio down.
No. No app will slow down your computer unless you use it. Any app that you invoke will have an effect on RAM and processing, so they all “slow down” a computer. If you have enough resources (RAM, SSD, fast processor), you will not notice the effect.
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)
I have just installed Visual Studio 2017 on a PC having the following specifications: Intel Xeon E5-1600 v3 @ 3.50 GHz processor, 16 GB RAM and Windows 10 Pro 64-bit operating system. Although the PC performance is almost perfect, I usually encounter slowness problem in Visual Studio 2017 especially during build and debug processes.
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. Show activity on this post. workaround that I used was to run msvcmon.exe locally with admin mode before starting the debugger.
Optimize Visual Studio performance 1 Upgrade Visual Studio. If you are currently using Visual Studio 2015, download Visual Studio 2017 or Visual Studio 2019 for free to check out its improved performance. 2 Extensions and tool windows. You may have extensions installed that are slowing Visual Studio down. ... 3 Hardware. ... 4 Help us improve. ...
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.
If disable Diagnostic Tools don't fix the problem try to disable IntelliTrace, Unchecking Enable IntelliTrace, in Tools -> Options -> IntelliTrace. Work for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With