|
|
|
|
|
Use the Run Exeption command when an exception has been thrown in a process running under debug control, and you want to run through the code that handles the exception. When you use the Run Exception command, the process being debugged runs through the exception handling code up to the first breakpoint it encounters, or until the process terminates.
For operating system exceptions, the Run Exception command runs the exception handling code, and the process terminates. For user-defined C++ exceptions, you must set or enable the signal for user-defined exceptions before the exception is thrown; this causes execution to stop when the exception is encountered, and you can then set a breakpoint in your exception handling code, select Run Exception, and run to the breakpoint.
If you want to step into your exception-handling code, use the Step Exception command, followed by a Step Debug command.
