Visual Studio不会破坏用户未处理的异常 [英] Visual Studio not breaking on user-unhandled exceptions

查看:186
本文介绍了Visual Studio不会破坏用户未处理的异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio中运行我的应用程序时,它以未处理的异常结束,而不是显示一个包含异常信息的消息框,并按照我习惯的方式继续。

When running my app in Visual Studio, it's ending on unhandled exceptions rather than showing a message box with the exception info and continuing on as I'm accustomed to.

我需要修改什么选项以回到我习惯的行为?

What options do I need to change to get it back to the behavior I'm used to?

编辑:在调试/异常我有用户未处理的选项选择为CLR异常。

In Debug/Exceptions I do have the User-unhandled option selected for CLR Exceptions.

推荐答案

调试 - >异常 - >检查抛出/用户未处理用于公共语言运行时异常

Debug->Exceptions->Check Thrown/User-Unhandled for Common Language Runtime Exceptions

编辑:也许尝试做一个干净/重建,并再次运行?可能调试符号已损坏或某些东西..

edit: Maybe try to do a clean/rebuild, and run again? Maybe debug symbols are corrupt or something..

这篇关于Visual Studio不会破坏用户未处理的异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆