Visual studio 2015 Resharper NUnit测试运行程序未在未处理的异常上中断

Visual studio 2015 Resharper NUnit测试运行程序未在未处理的异常上中断,visual-studio-2015,nunit,resharper,breakpoints,visual-studio-debugging,Visual Studio 2015,Nunit,Resharper,Breakpoints,Visual Studio Debugging,当我在调试模式(Resharper中的Ctrl-ud)下运行nunit测试时,出现一些未处理的异常,调试器不会中断并跳转到代码中的错误。相反,输出窗口充满了错误,如 Exception thrown: 'NUnit.Framework.AssertionException' in nunit.framework.dll // ^^^^^^^ This is the actual exception that I want to break on. // Can

当我在调试模式(Resharper中的Ctrl-ud)下运行nunit测试时,出现一些未处理的异常,调试器不会中断并跳转到代码中的错误。相反,输出窗口充满了错误,如

Exception thrown: 'NUnit.Framework.AssertionException' in nunit.framework.dll 
  //              ^^^^^^^ This is the actual exception that I want to break on.
  // Can be any exception inside my test method, e.g. also a null reference exception.
Exception thrown: 'System.Reflection.TargetInvocationException' in mscorlib.dll
Exception thrown: 'NUnit.Core.NUnitException' in nunit.core.dll
The thread 'NUnit Reporter' (0x37f4) has exited with code 0 (0x0).
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
The thread 'Runner thread' (0x33b8) has exited with code 0 (0x0).
Exception thrown: 'System.IO.EndOfStreamException' in JetBrains.ReSharper.TaskRunnerFramework.dll
The program '[10008] JetBrains.ReSharper.TaskRunner.CLR45.exe: Managed (v4.0.30319)' has exited with code 0 (0x0).
当我在某处放置断点时,调试器会正确地中断和跳转。当我在异常设置中检查所有CLR异常时,调试器确实会中断,但它也会在已处理的异常上中断,这是我不希望看到的,并且上面发布的错误仍然会发生

这里出了什么问题

更新

仅启用“我的代码”时,错误列表将减少到

Exception thrown: 'NUnit.Framework.AssertionException' in nunit.framework.dll
An exception of type 'NUnit.Framework.AssertionException' occurred in nunit.framework.dll but was not handled in user code
The thread 'NUnit Reporter' (0x5288) has exited with code 0 (0x0).
The thread 'Runner thread' (0x61ec) has exited with code 0 (0x0).
The program '[22972] JetBrains.ReSharper.TaskRunner.CLR45.exe: Managed (v4.0.30319)' has exited with code 0 (0x0).

但例外情况下仍然没有破损。

此类例外情况属于首次机会例外情况。它们(由NUnit)妥善处理,当然不会让Visual Studio破坏它们。所以它们与我试图解决的问题没有任何关系?知道这一点很好。您将不得不更多地讲述“未处理的异常”。至少从粘贴的日志部分来看,没有此类异常。这是日志中的第一个异常。更新了帖子以包含评论。您能检查是否启用了“仅我的代码”吗?我不知道它如何与您描述的异常配置相关。。