Re: Debugging problem
Re: Debugging problem
- Subject: Re: Debugging problem
- From: Laurent Daudelin <email@hidden>
- Date: Thu, 4 Mar 2010 10:01:56 -0800
On Mar 4, 2010, at 08:17, Jens Alfke wrote:
>
> 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
Thanks, Jens, I'll have a look!
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org
Logiciels Nemesys Software email@hidden
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries_______________________________________________
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