Crash logs not generated when an application crashes on EXC_BAD_ACCESS in the main

So, here is what I see now on my screen:

enter image description here

Now, before giving a more detailed explanation, let me just emphasize that this error occurred only on iOS 6 on the device. Otherwise, the application works fine. This app is for iPad.

I am trying to find out this crash from this morning, but it does not lead to anything, since there are no alarm logs for this error. I have "Debugging debugging characters during copy" set to NO. Not sure where else I should check for this error to get into my crash log, so I can get more details.

I have included NSZombieEnabled in YES, hoping that it will give me more details about this EXC_BAD_ACCESS, but it still gives me the same result. Can someone help me on what I can do next, at least get more information about the failures from this accident? Where should I check for my crash logs to be generated.

+5
source share
1 answer

You can get a crash log using the code below

int main(int argc, char *argv[])
{
    @autoreleasepool
    {
        @try 
        {
            return UIApplicationMain(argc, argv, nil, NSStringFromClass([mSellerAppDelegate class]));
        }
        @catch (NSException *exception)
        {

            NSLog(@"%@",[exception callStackSymbols]);
            return 1;
        }
    }
}
-1
source

All Articles