I have enabled exception breakpoints in xcode but whenever I encounter an exception it never takes me to the line that caused the exception to be thrown. All I get is this:
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); thread 1: SIGABRT
}
And the console is outputting the following:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
I am simply trying to get xcode to show me where I am trying to insert a nil object into an array but it isn't cooperating. Am I doing something wrong here?
I can't post an image of the error since I do not have 10 reputation.