How to add Exception Breakpoint in Xcode?

debugging, ios, xcode

Solution

You can easily add Exception Breakpoint in Xcode. See below image:

Problem

How to add Exception Breakpoint in Xcode? ``` int main(int argc, char *argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; int retVal = UIApplicationMain(argc, argv, nil, @"AppController"); [pool release]; return retVal; } ``` My Project randomly crashed in below code, searched in google and some one suggested to add Exception Breakpoint. I added break point by clicking on source line..Editing breakpoint not allow me to change type. How to add Exception Breakpoint and where to add? (in AppDelegate?

Original source