防止Visual Studio破坏未处理的异常 [英] Prevent Visual Studio from breaking on unhandled exceptions
本文介绍了防止Visual Studio破坏未处理的异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一组NUnit测试(使用Resharper测试运行程序运行),其中一些由于后台线程中发生断言异常而失败;当这种情况发生时,VS2017闯入了调试器,这是我不希望的,因为我希望它继续运行其他测试。
I have a set of NUnit tests (running using the Resharper test runner), and some of those fail due to assertion exceptions happening in background threads; and when this happens VS2017 breaks into the debugger, what is undesirable as I want it to keep on running other tests.
- 异常设置/ CLR /抛出中的所有设置均已关闭。
- 无论我打开还是关闭仅我的代码选项,该对话框中的用户未处理设置都不存在
- 全部异常设置/托管调试助手设置已关闭。
还有其他想法如何防止它打破那些例外?
Any other ideas how to prevent it from breaking on those exceptions?
推荐答案
显然,这是Visual Studio中的错误。安装更高版本的更新已将其修复。
Apparently, this was a bug in Visual Studio. Installing the later updates has fixed it.
这篇关于防止Visual Studio破坏未处理的异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文