Compartir a través de


Continuing Execution After an Exception 

When the debugger breaks execution because of an exception, a dialog box appears: either the Exception Assistant dialog box,for Visual Basic, C#, and J#, or the older Exception dialog box. You can then attempt to fix the problem that caused the exception.

Managed Code

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

Native Code

In native C/C++, you have two options:

  • You can click Break and try to fix the problem. When you continue debugging, the Exception dialog box appears again if you have not fixed the problem. Otherwise, the Exception dialog box will not reappear.

  • You can click Continue to continue execution without trying to fix the problem. The Exception dialog box reappears.

See Also

Concepts

Exception Handling (Debugging)