我使用Visual Studio 2012調試器不會停止在錯誤
當有調試過程中發生錯誤,它曾經停止在錯誤的Asp.net MVC4項目。
但突然間,調試器不會停止,只是吐出了錯誤信息的網頁象下面。
Server Error in '/' Application.
The given key was not present in the dictionary.
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.
Exception Details: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
Source Error: ...
Stack Trace: ...
如何設置調試器停止出現錯誤?
你在調試模式(F5)開始?或者在非調試模式下(ctrl-F5)? –
我想我有同樣的問題。檢查[這裏](http://stackoverflow.com/questions/14156666/visual-studio-does-not-break-on-unhandled-exceptions-when-debugging)。 – Schaliasos