Re: How to trap app crashes
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.