[Adium-devl] Ending the era of NSException crashes?
Evan Schoenberg
evan at adiumx.com
Sun Apr 1 03:05:33 UTC 2007
On Mar 31, 2007, at 11:01 PM, Andreas Monitzer wrote:
> On Apr 01, 2007, at 04:41, Evan Schoenberg wrote:
>
>> Since we've had the crash reporter, we've had unhandled
>> NSExceptions be treated as crashes. This was great when Adium was
>> young and there were a bunch of exceptions we were causing one way
>> or another inadvertantly. Nowadays, though, even with the
>> exception controller riddled with "safe" exceptions -- thrown
>> either by appkit or by known other applications in the course of
>> their normal behavior -- most of the exceptions I see in the crash
>> reporter seem to be not our fault and probably harmless.
>
> Maybe this should be handled like in xcode? That app pops up a
> dialog, explaining the exception, and giving the option to either
> quit or continue.
Hm.. that's an interesting idea. My experience in xcode is usually
that once I get one of those I'm going to keep on getting it until I
quit and relaunch... I wonder if that's the nature of the beast or
something odd with their implementation of the exception handling or
recovery. Also, would anyone ever click "quit"? If it's harmless
(you scrolled down and logitech's control center sent an invalid
message to an NSEvent) the notification might be significantly more
annoying than not knowing unless you check Console. If it's harmful,
on the other hand, knowing so we get a better bug report could be a
good thing...
-Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070331/c0083023/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070331/c0083023/attachment.sig>
More information about the devel
mailing list