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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to