Continuing Execution After an Exception

When the debugger breaks execution because of an exception, you will see the Exception Helper, by default. If you have disabled the Exception Helper in the Options dialog box, you will see the Exception Assistant (C# or Visual Basic) or the Exception dialog box (C++).

When the Exception Helper appears, you can try to fix the problem that caused the exception.

Managed and Native Code

In managed and native code, you can continue execution in the same thread after an unhandled exception. The Exception Helper unwinds the call stack to the point where the exception was thrown.

Mixed Code

If you hit an unhandled exception while debugging a mixed native and managed code, operating system constraints prevent unwinding the call stack. If you try rewinding the call stack using the shortcut menu, an error message explains that the debugger cannot unwind from an unhandled except during mixed-code debugging.

See Also

Managing Exceptions with the Debugger