For some reason, Studio 2012 stops the program every time an exception occurs, even if it is processed by user code. How to set up a studio to stop the program only with unhandled exceptions?

I thought that for this you need to uncheck the User-unhandled checkboxes, but this is impossible.

enter image description here

UPD1. Yes, this is a debug build. And I process exceptions as usual:

try { throw new Exception(); } catch(Exception e) { } 

UPD2. A strange problem really decided to reinstall. Of course, it makes sense to discuss the true reason, but this question is not interesting for me.

UPD3. Strange, I can not close your question. That is how it should be?

  • Sounds weird. Can you put a sample code, how do you handle errors? - Walter Nuss
  • Are you running a debug build? - Batanichek
  • But you are not making overruns of exceptions? In theory, this catch should jump over ... Very strange. - Walter Nuss
  • @WalterNuss, why jump over? The code in it, of course, is there, but a new exception is not generated in it. - maestro
  • I meant that VS should not stop at that place. The code standing there by itself should be processed, but the exception should not be shown. I have not seen such behavior yet. - Walter Nuss

1 answer 1

I propose to uncheck Thrown flags