• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Graceful Crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Re: Graceful Crash (From: email@hidden (Simon Fraser))

  • Prev by Date: Re: NSDocument's loadDataRepresentation called before the document UI is functional?
  • Next by Date: Re: Referencing Files within a App
  • Previous by thread: Re: Graceful Crash
  • Next by thread: NSFileManager's enumeratorAtPath can't handle aliases
  • Index(es):
    • Date
    • Thread