Visual Studio错误显示

时间:2013-07-31 18:11:17

标签: visual-studio-2010

如何在此图像中显示Visual Studio中的错误:

enter image description here

而不是使用错误列表?

我得到的例外情况如下:

enter image description here

(图片来自:How to tell the debugger to ignore breaking on thrown exceptions?Where did my Visual Studio exception assistant go?

2 个答案:

答案 0 :(得分:1)

如果您查看工具|调试中的选项|常规节点,请确保您的"启用异常助手"检查。

答案 1 :(得分:0)

第一张图片中显示的错误消息是为.Net异常显示的消息。 (任何继承自System.Exception

的东西

.Net异常类的成员包含可以很好地显示的数据和堆栈跟踪,Visual Studio IDE会为您显示它。

使用第二个窗口显示本机错误(来自本机代码或Windows代码,任何不是.Net)。

包含最小what()字符串的本机异常。有时。但是也可以抛出任何其他类类型,所以并不总是那么多信息。