调试器的错误不会停止 [英] debugger does not stop on error

查看:115
本文介绍了调试器的错误不会停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Visual Studio 2012年Asp.net MVC4项目。

I'm working on Asp.net MVC4 project using Visual Studio 2012.

当有调试过程中出现错误,它曾经停止错误。

When there's an error during debugging, it used to stop on the error.

但突然间,调试器不会停止,只是吐出了错误信息的网页象下面这样。

But suddenly, the debugger does not stop and just spit out the error information webpage like below.

中的服务器错误'/'应用。

Server Error in '/' Application.

给定的关键是不是在词典present。

The given key was not present in the dictionary.

说明:在执行过程中发生未处理的异常
  当前Web请求。有关详情,请堆栈跟踪
  有关错误的信息以及它起源于code。

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

异常详细信息:System.Collections.Generic.KeyNotFoundException:
  给出的关键不是present在字典中。

Exception Details: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

源错误:...

堆栈跟踪:...

如何设置调试器停止的错误?

How can I set the debugger to stop on the error?

推荐答案

确认异常助手已启用:

这篇关于调试器的错误不会停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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