Re: Graceful Crash
Re: Graceful Crash
- Subject: Re: Graceful Crash
- From: Creed Erickson <email@hidden>
- Date: Mon, 11 Aug 2003 13:47:38 -0700
On Monday, August 11, 2003, at 12:17 PM, Simon Fraser wrote:
Mathew Peterson wrote on 11/8/03, 12:58 am:
How can I gracefully catch the application crashing. For instance,
Camino crashing will launch a debugger...is this actually cooca or is
it an application watching for a crash?
Camino has a crash reporting tool (Talkback) that installs signal
handlers ('man sigaction') to catch crashes. Using the
ExceptionHandling.framework or writing code to catch Mach exceptions
would also work.
Actually, using Cocoa/Obj-C/Mach exception handling is a better
generalized solution than signal handlers. Signals are implemented as a
subset of exceptions, IIRC.
---
Creed Erickson <email@hidden>
"Not a shred of evidence exists in favor of the idea that life is
serious."
- Brendan Gill
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.