的Visual Studio 2013"打破处理的异常"不工作,不破 [英] Visual Studio 2013 "break on handled exceptions" not working, not breaking

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

问题描述

我调试的iisex press.exe一个asp.net应用程序,我已经配置的Visual Studio 2013年通过的例外设置窗口用户处理的异常突破,但它仍然在抛出一个异常不破。
当我暂停执行,我可以看到很多的例外被抛出,但视觉工作室没有打破的IntelliTrace窗口。

I am debugging an asp.net application on iisexpress.exe, I have configured visual studio 2013 to break on user-handled exceptions through the exception settings window but it still does not break when an exception is thrown. When I pause execution I can see on the Intellitrace window that a lot of exceptions were thrown but visual studio didn't break.

推荐答案

好吧,现在看来,这是因为启用仅我的code选项下的

Ok, it seems it was because of the "Enable Just My Code" options was selected under

选项 - > Debugging->常规

Options->Debugging->General

我不知道为什么,但在默认情况下,它被选中。有任何想法吗?我应该把它选中/取消?

I don't know why but by default, it is checked. Any ideas? Should I leave it checked/unchecked?

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

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