Created
April 13, 2012 10:55
-
-
Save ellneal/2375839 to your computer and use it in GitHub Desktop.
main() exception trace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@autoreleasepool { | |
int result = -1; | |
@try { | |
result = UIApplicationMain(argc, argv, nil, NSStringFromClass([<#AppDelegateClassName#> class])); | |
} | |
@catch (NSException *exception) { | |
NSLog(@"Exception Thrown: %@", [exception name]); | |
NSLog(@"Stack Trace:\n\n%@", [exception callStackSymbols]); | |
[exception raise]; | |
} | |
return result; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment