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/Thrown"中的所有设置均已关闭.
 - 无论我打开或关闭仅我的代码"选项,该对话框中的用户未处理"设置都不存在
 - 所有异常设置/托管调试助手"设置均已关闭.
 
任何其他想法如何防止它打破这些异常?
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 中断未处理的异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:防止 Visual Studio 中断未处理的异常
				
        
 
            
        基础教程推荐
- 经典 Asp 中的 ResolveUrl/Url.Content 等效项 2022-01-01
 - 如何动态获取文本框中datagridview列的总和 2022-01-01
 - 全局 ASAX - 获取服务器名称 2022-01-01
 - 在 VS2010 中的 Post Build 事件中将 bin 文件复制到物 2022-01-01
 - 从 VS 2017 .NET Core 项目的发布目录中排除文件 2022-01-01
 - 是否可以在 asp classic 和 asp.net 之间共享会话状态 2022-01-01
 - 错误“此流不支持搜索操作"在 C# 中 2022-01-01
 - 将事件 TextChanged 分配给表单中的所有文本框 2022-01-01
 - JSON.NET 中基于属性的类型解析 2022-01-01
 - 首先创建代码,多对多,关联表中的附加字段 2022-01-01
 
    	
    	
    	
    	
    	
    	
    	
    	
						
						
						
						
						
				
				
				
				