Visual Studio 2015的异常助手在哪里去了? [英] Where did the exception assistant go for Visual Studio 2015?

查看:110
本文介绍了Visual Studio 2015的异常助手在哪里去了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于Visual Studio 2013中已处理的异常,我可以通过单击红色的异常帮助器图标在catch块中查看异常对话框。在Visual Studio 2015中,缺少此功能。该对话框仍然显示何时引发异常,所以这不是问题。尽管在

解决方案

显然它不再存在,因此您必须观看 $ exception ,该异常始终具有当前的异常对象。



根据,我请尝试启用/禁用工具|选项>调试|一般|使用新的Exception Helper ,或尝试此消息中提到的更新(发布于2017年12月5日):


此问题已得到修复,现在可以在我们的最新更新中找到。您可以通过产品内通知或从以下位置下载更新: https://www.visualstudio.com/ vs /



For a handled exception in Visual Studio 2013 I could view the exception dialog in a catch block by clicking the red exception helper icon. In Visual Studio 2015 this is missing. The dialog still shows when the exception is thrown, so that is not the issue. Though there is a workaround in this answer, this doesn't provide the functionality of the exception dialog (e.g. copy to clipboard).

解决方案

Apparently it's no longer there, so you have to watch $exception, which always has the current exception object.

According to this, I'd try enabling/disabling Tools | Options > Debugging | General | Use the new Exception Helper, or trying the update mentioned in this message, posted on Dec 5th 2017:

This issue has been fixed and is now available in our latest update. You can download the update via the in-product notification or from here: https://www.visualstudio.com/vs/

这篇关于Visual Studio 2015的异常助手在哪里去了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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