Adding an Exception Breakpoint
Add an exception breakpoint to your project using the breakpoint navigator.
In the bottom-left corner of the breakpoints navigator, click the Add button.
Choose Add Exception Breakpoint from the menu.
In the configuration dialog that appears, choose the type of exception on which you want execution to stop from the Exception field pop-up menu.
All. Stops on all exceptions.
Objective-C. Stops on Objective-C exceptions.
C++. Stops on C++ exceptions.
To stop on a particular C++ exception, specify the exception name.
For the Break field, choose the phase of the exception handling process at which you want program execution to stop.
(Optional) Add actions and configure the Options for the behavior you wish.
This example of a configuration dialog shows an exception breakpoint configured for C++:
Clicking anywhere outside the dialog accepts the values and closes the dialog.