视觉工作室减缓应用程序 [英] Visual studio slowing down application

查看:131
本文介绍了视觉工作室减缓应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个模糊的问题,但是有什么我可以做的视觉工作放慢应用程序吗?如果我在可视化工作室之外运行可执行文件,运行速度非常可观。如果我在可视化工作室里运行调试器,它运行速度将近200倍。我试图卸载并重新安装visual studio无效。我删除了我所有的插件(蚂蚁和重新加载器),而且什么也没有。我在另一台电脑上的视觉工作室内运行了这个项目,速度是正常的。我能做些什么来解决这个问题?最近似乎发生了,但可能逐渐发生。

This is kind of a vague question, but is there anything I can do about visual studio slowing down an application? If I run the executables outside of visual studio it runs at a very acceptable speed. If I run it inside visual studio with the debugger enabled it runs nearly 200x slower. I have tried to uninstall and reinstall visual studio to no avail. I removed all my plugins (ants & resharper) and still nothing. I have ran the project inside a visual studio on another computer and it the speed was normal. What can I do to resolve this? It seems to have happened recently, but potentially gradually.

更新:我现在已经在其他视觉工作室里运行,而且减速仍然保持。我唯一的结论是在我在应用程序中的速度中分配内存的方式是导致调试器以某种方式减慢速度。任何人都有这样的经历?

Update: I have ran it now in other visual studios, and the slowdown maintains. My only conclusion is the way im allocating memory in the speeds that I am in the application is causing the debugger to slow things down in some way. Anyone ever have any experience in this happening?

推荐答案

异常在调试器中运行时非常昂贵,如果在许多人被抛出来抓住。看看Visual Studio的输出窗口,您可以在其中看到抛出的异常。

Exceptions are very expensive when running within the debugger and can slow down the application if many are thrown and caught. Have a look at the Output window of Visual Studio where you can see the thrown exceptions.

这篇关于视觉工作室减缓应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆