且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Visual Studio 2008 Express中禁用异常助理和未处理的异常弹出窗口

更新时间:2023-08-23 14:18:04

在调试菜单中,转到例外( Ctrl + Alt + 电子)。从这里可以告诉调试器在抛出异常时不会中断。只需取消选中所有的懒惰选项框,或者去挖掘您不希望的特定例外。

In the Debug menu, go to Exceptions (Ctrl+Alt+E). From here you can tell the debugger not to break when an exception is thrown. Just uncheck all the boxes for the lazy option, or go digging for the specific exceptions you don't want it to break on.

请注意,这可能不是在正常的调试情况下你想要发生什么,所以如果你试图调试某些东西,想要找到例外。

Note however, that this may not be what you want to happen under normal debugging situations, so don't forget to turn it back on later if you're trying to debug something & want to find the exception.

编辑:我的歉意,即使它在问题(包括标题)中写了几次,我失败了注意你正在谈论快递版...教我阅读这个问题。不确定上述是否在快递版本中,所以可能还是值得一试。

Edit: My apologies, even though its written several times in the question (including the title), I failed to notice you were talking about the express edition... teach me for skim reading the question. Not sure if the above works or not in express edition, so it might still be worth a try.

编辑2 :好的,看起来像例外对话框仍然可以在快递版中使用。

Edit 2: Ok, looks like the Exceptions dialog is still available in express edition.