OK, thanks.  I'll do a bit more testing on Snow Leopard.  But I 
have code out in the field with my 'brutal' exception handling 
in place and nothing like this has ever (yet!) been reported.

Paul Sanders.

----- Original Message ----- 
From: <jonat...@mugginsoft.com>
To: <cocoa-dev@lists.apple.com>
Sent: Thursday, January 28, 2010 7:38 PM
Subject: Re: Uncaught exceptions not terminating my app



On 28 Jan 2010, at 18:55, Jens Alfke wrote:
>>
>
> There are various places in the frameworks where exceptions 
> get caught and (mostly) ignored. Some of these are where 
> Carbon code (like the menu or open/save file panel 
> implementation) calls into Cocoa, since throwing an exception 
> out through Carbon is bad news.
>
> (The Carbon examples may not be true anymore in 10.6, but they 
> are in 10.5 and earlier.)
>
On 10.6 exceptions generated in Carbon menu event dispatch are 
logged but ignored.
eg:HIToolbox: ignoring exception 'window context is nil' that 
raised inside Carbon event dispatch



_______________________________________________

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