Ich arbeite an Asp.net MVC4 Projekt mit Visual Studio 2012Debugger hören nicht auf Fehler
Wenn es ein Fehler bei der Fehlersuche, er wird verwendet auf dem Fehler zu stoppen.
Aber plötzlich stoppt der Debugger nicht und spuckt einfach die Fehlerinformationswebseite wie unten aus.
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: ...
Wie kann ich den Debugger auf den Fehler stoppen?
Starten Sie im Debug-Modus (F5)? oder im Nicht-Debug-Modus (Strg-F5)? –
Ich denke, ich hatte das gleiche Problem. Überprüfen Sie [hier] (http://stackoverflow.com/questions/14156666/visual-studio-does-not-break-on-unhandled-exceptions-when-debugging). – Schaliasos