hoping someone can help me. Recently my Visual Studio 2015 started to take a very long time when it encounters unhandled exception - full 20 seconds before debugger breaks and shows me where the problem is. I tried cleaning up cache, user folders, completely reinstalling visual studio, different runtime (I was using dot.net 4.6.2) with no luck. I am using VS 2015 ultimate on windows 10, running WPF project targeting 4.6.2 (I tried a very simple project with just one button to make sure it's not my solution and got same result). When this happens, Visual Studio is not responsive. Any ideas are greatly appreciated - planning to wipe my computer clean because not sure what else I can try. Thank you
希望有人可以帮助我。最近我的Visual Studio 2015开始花费很长时间遇到未处理的异常 - 在调试器中断前整整20秒,并向我显示问题所在。我试着清理缓存,用户文件夹,完全重新安装visual studio,不同的运行时(我使用的是dot.net 4.6.2)没有运气。我在Windows 10上使用VS 2015终极版,运行针对4.6.2的WPF项目(我尝试了一个非常简单的项目,只需一个按钮,以确保它不是我的解决方案,并得到相同的结果)。发生这种情况时,Visual Studio没有响应。非常感谢任何想法 - 计划擦拭我的电脑干净,因为不知道我还能尝试什么。谢谢
1 个解决方案
#1
1
The answer in my case was definitely exception assistant. Having that option turned on slows down entering break mode in Visual Studio. I found out in my case that toggling the exception off and back on improved VS breaking from 9 seconds to 2 seconds (very odd - I blame VS for it). I got to say that if I have many exceptions, I would turn this feature off, otherwise this really is a very useful dialog.
我的答案肯定是例外助手。启用该选项会减慢在Visual Studio中进入中断模式的速度。我发现在我的情况下,切换异常关闭并返回改进VS从9秒突破到2秒(非常奇怪 - 我责备VS)。我得说,如果我有很多例外,我会关掉这个功能,否则这真的是一个非常有用的对话框。
#1
1
The answer in my case was definitely exception assistant. Having that option turned on slows down entering break mode in Visual Studio. I found out in my case that toggling the exception off and back on improved VS breaking from 9 seconds to 2 seconds (very odd - I blame VS for it). I got to say that if I have many exceptions, I would turn this feature off, otherwise this really is a very useful dialog.
我的答案肯定是例外助手。启用该选项会减慢在Visual Studio中进入中断模式的速度。我发现在我的情况下,切换异常关闭并返回改进VS从9秒突破到2秒(非常奇怪 - 我责备VS)。我得说,如果我有很多例外,我会关掉这个功能,否则这真的是一个非常有用的对话框。