Re: Debugging problem
Re: Debugging problem
- Subject: Re: Debugging problem
- From: Jens Alfke <email@hidden>
- Date: Thu, 4 Mar 2010 08:17:12 -0800
On Mar 3, 2010, at 7:24 PM, Laurent Daudelin wrote:
> I also set a future break on [NSException raise] but it's doesn't break on that call.
In recent OS's some exceptions don't go through that bottleneck (such as ones raised by CoreFoundation.) The bottleneck to break on is objc_exception_throw. Or just choose Run > Stop On Objective-C Exceptions in Xcode.
If you want a way to get a backtrace of the exception without having to run in Xcode or gdb, my MYUtilities library has a utility that will dump backtraces:
http://bitbucket.org/snej/myutilities/src/tip/ExceptionUtils.h
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden