Visual Studio:“异常未处理时中断”发生了什么事情选项? [英] Visual Studio: What happened to the "Break when an exception is unhandled" option?

查看:127
本文介绍了Visual Studio:“异常未处理时中断”发生了什么事情选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,Visual Studio(2008和2010年)曾经有一个选项可以抛出异常或未处理的异常。现在,当我打开例外对话框(Ctr + Alt + E)时,它只是提出在抛出异常时中断:





我已经尝试调整对话框中的列的大小,但是那没有帮助。这是一个错误,还是我缺少某些东西?

解决方案

似乎表明如果您没有启用仅启用我的代码(仅管理),可能会发生。



编辑:刚刚尝试(VS 2008),我可以验证禁用该选项将导致User-Unhandled列消失。您可以在这里找到选项:工具 - >选项 - >调试 - >常规


As far as I remember, Visual Studio (both 2008 and 2010) used to have an option to break either on thrown exceptions or on unhandled exceptions. Now when I bring up the Exceptions dialog (Ctr+Alt+E), it just offers to break when an exception is thrown:

I've tried resizing to the columns in that dialog, but that did not help. Is this a bug, or am I missing something?

解决方案

This seems to indicate it can occur if you don't have "Enable Just My Code (Managed Only)" enabled.

Edit: just tried it here (VS 2008) and I can verify that disabling that option will cause the User-Unhandled column to disappear. You can find the option here: Tools -> Options -> Debugging -> General

这篇关于Visual Studio:“异常未处理时中断”发生了什么事情选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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