How to add Exception Breakpoint in Xcode?How to add Exception Breakpoint in Xcode? - Solution Checker - solutionschecker.com - Find the solution for any programming question. We as a solution checker will focus on finding the fastest possible solution for developers. Main topics like coding, learning.
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?
Solution 1
You can easily add Exception Breakpoint in Xcode. See below image:
Solution 2
Here are the steps.
Move to "Breakpoint Navigator".
Click + symbol at bottom-left corner of navigator.
- You should see this.
Solution 3
Follow these steps:
- In Xcode move to Breakpoint navigator (use
command+8in Xcode 11) - Click on the + option at the left bottom of the navigator and select Exception breakpoint.
- An exception breakpoint will be immediately added to the Breakpoint list in the Breakpoint navigator
- you can then edit additional Breakpoint Setting's as shown below.
