سؤال

Any pointers how can we debug an application in the release mode, its crashing even a first line it self , below is the code snippet

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
    // Insert code here to initialize your application

    debugLog<<" inside app did finish launching "<<endl;

    **// here its crashing**        
    [self InitAppController];

    [AppUtil createAppMacFolder];


}
هل كانت مفيدة؟

المحلول

not sure what was the problem,
But when i set the optimization level to 0 was working fine,

enter image description here

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top