• 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: How to trap app crashes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to trap app crashes


  • Subject: Re: How to trap app crashes
  • From: Jason Bell <email@hidden>
  • Date: Thu, 29 Jan 2004 13:06:06 -0500

Search for NSExceptionHandling in the mailing list archives, and / or
read the "documentation" found in the header files. It's easy enough to
use, and powerful enough for most cases.

There was also a good article in the December 2003 issue of MacTech magazine (if you have it or can find it online somewhwere) that shows how to catch all exceptions and then pop up a window with a complete stack trace (using the command line "atos" tool through NSTask). I'm not sure how well it works for SIGBUS / SIGSEGV crashes. However, I'm using this technique in a shipping application and it works great.

- Jason
_______________________________________________
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.

  • Prev by Date: Re: Notification redundancy
  • Next by Date: Re: Designing for multitudinous objects
  • Previous by thread: Re: How to trap app crashes
  • Next by thread: dealloc, release, NSWindowController
  • Index(es):
    • Date
    • Thread