Visual studio 2019 causing slow debugging and high usage of memory

一世执手 提交于 2020-06-16 19:16:26

问题


After short time while debugging my project using breakpoints Visual studio 2019 Professional almost stops responding and slows down very much. From activity manager I noted an ever increasing memory usage that could be the cause.

Debugging the same project using Visual Studio 2015 is instead very fast. Haven't tried 2017.

I have checked "Enable just my code".

My project is just plain C# without DB and Web.

Thanks.


回答1:


While debugging I realized that slow debugging was related to Diagnostic Tools.

When VS 2019 slowed I stopped debugging, open Diagnostic Tools Window Tab and in Setting (gear) I checked / unchecked, when necessary, the checkboxes 'Memory Usage' 'CPU Usage'.

Finally, I solved unchecking 'Enable Disgnostic Tools While Debugging' in Options ---> Debugging ---> General.

VS 2019 version 16.3.6



来源:https://stackoverflow.com/questions/58555473/visual-studio-2019-causing-slow-debugging-and-high-usage-of-memory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!