0

I enabled breaking for first-chance exceptions in Visual Studio 2008 for my C++ project using Debug -> Exceptions and checking Common Language Runtime Exceptions -> System -> System.ApplicationException . The change worked, and first-chance exceptions cause a break in execution (breakpoint) with a dialog containing options 'Break', 'Continue' as is customary. Following this I enabled breaking on all exceptions by checking all top-level boxes in the Exceptions window.

I now wish to disable this behaviour, so have unchecked the top-level boxes and subsequently unchecked the System.ApplicationException checkbox as well. Since doing this I have done Clean & Build on my project. However, the project still breaks upon first-chance exceptions.

Any idea why this is happening, and how I can resolve it? It's rather frustrating!

KomodoDave
  • 7,239
  • 10
  • 60
  • 92
  • Pretty unclear, there is no "break/continue" prompt. The debugger will stop on exceptions thrown in the UI thread of a Winforms app. Configured with Application::SetUnhandledExceptionMode(). – Hans Passant Dec 21 '11 at 21:52
  • There is a dialog window with options 'Break' and 'Continue' when the debugger breaks on an exception. I've amended the question. – KomodoDave Dec 21 '11 at 22:17
  • in my case I used lot of stack in a function, once it was reduced the exception is gone. – Chanakya.sun Jan 18 '19 at 09:12

0 Answers0