Reputation: 24325
For some reason my exceptions arent being thrown anymore in Visual Studio. I get the error in JSON on the response, but Visual Studio in debug mode no longer throws an error and stops Visual Studio at that error when it happens.
I have looked into posts like this:
Visual Studio not stopping on an exception being thrown
But I just want to reset where I was before, not enable exceptions one by one.
Upvotes: 9
Views: 10803
Reputation: 1374
I hit a problem where it wasn't stopping on an exception and resetting the exception settings worked for me. To expand on Jay's answer above, in VS 2019 that option to reset is in a slightly different place (arguably a step backward compared to how it was before, it's clearer there).
Go to debug -> windows -> exception settings
The reset button is now this icon here:
Upvotes: 3
Reputation: 57979
To reset the exceptions settings, go to Debug>Exceptions and click "Reset All."
You can also drill down and control what happens for different types of exceptions.
You mentioned that you are missing the User-Unhandled column. In that case, you may need to set this:
Upvotes: 22
Reputation: 49271
Cntrl + Alt + E
(Or Debug -> Exceptions)
Then select "Reset All", that will return the default exceptions on.
Upvotes: 4