Try-Catch equivalent in Objective-C / xcode
Posted
by
IIS7 Rewrite
on Stack Overflow
See other posts from Stack Overflow
or by IIS7 Rewrite
Published on 2012-12-08T04:52:49Z
Indexed on
2012/12/08
5:04 UTC
Read the original article
Hit count: 334
objective-c
|xcode
I get an app crash in main.m in my app and have no idea why the error is happening because xcode doesn't show me where the crash occurs, it shows me that it crashes at return UIApplicationMain(argc, argv ...) which tells me nothing.
Is there a way to have in xcode / Objective-C the equivalent of a try/catch in Visual Studio to see exactly where the error is occuring?
I'm using latest xcode (4.6 I believe).
Thanks in advance.
© Stack Overflow or respective owner