在Visual Studio中不会抛出异常 [英] Exceptions Not Being Thrown In Visual Studio
问题描述
由于某种原因,我的异常在Visual Studio中不再被抛出。我在响应中收到JSON中的错误,但在调试模式下的Visual Studio不再抛出错误,并在发生错误时停止Visual Studio。
For some reason my exceptions arent being thrown anymore in Visual Studio. I get the error in JSON on the response, but Visual Studio in debug mode no longer throws an error and stops Visual Studio at that error when it happens.
我已经看过这样的帖子:
I have looked into posts like this:
但是我只想重置我之前的位置,不能逐个启用异常。
But I just want to reset where I was before, not enable exceptions one by one.
推荐答案
要重置异常设置,请转到调试>例外,然后单击全部重置。
To reset the exceptions settings, go to Debug>Exceptions and click "Reset All."
您还可以深入了解并控制不同类型异常发生的情况。
You can also drill down and control what happens for different types of exceptions.
您提到您缺少User-Unhandled列。在这种情况下,您可能需要设置:
You mentioned that you are missing the User-Unhandled column. In that case, you may need to set this:
这篇关于在Visual Studio中不会抛出异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!