Go to Glossary Search VisualAge C++ Help Go to VisualAge C++ Help Home Page Go to WWW VisualAge C++ Site

Step Exception

Use the Step Exception command when an exception has been thrown in a process running under debug control, and you want to step through the code that handles the exception. When you use the Step Exception command, the process being debugged runs up to the first instruction of the exception handling code. From there, you can use step commands, breakpoints, and the Run command to determine probable causes of the exception.

If you do not want to step through the exception code, use the Run Exception command instead. The exception runs until the process terminates.

For most predefined exceptions, such as operating system and runtime library exceptions, you may find it difficult to determine the cause of the exception by stepping into it. The Step Exception command is primarily intended for stepping into an exception handler you have written yourself.



Debug Exception Handling Code