On Sat, 19 Dec 2009 13:27:01 +0200, Oleg Krupnov <oleg.krup...@gmail.com> said:
>Anyway, I have just found that the following code works: > >NSExceptionHandler *handler = [NSExceptionHandler defaultExceptionHandler]; > [handler setExceptionHandlingMask:NSLogAndHandleEveryExceptionMask]; > [handler setDelegate:self]; > >The delegate method DOES get called: > >- (BOOL)exceptionHandler:(NSExceptionHandler *)sender >shouldHandleException:(NSException *)exception mask:(unsigned >int)aMask >{ [NSApp reportException:exception]; > return YES; But this has nothing to do with Snow Leopard. I've got projects going back many years that use that code. m. -- matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings _______________________________________________ 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