• 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: Crash Reporter for Cocoa Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash Reporter for Cocoa Application


  • Subject: Re: Crash Reporter for Cocoa Application
  • From: Nicko van Someren <email@hidden>
  • Date: Fri, 16 Nov 2007 15:20:16 +0000

On 12 Nov 2007, at 05:07, Scott Ribe wrote:

Another way to do it is to have a helper application polling to check for a
new crash report, and send it as soon as it happens. The trick is to get
that helper application running, because if you just launch it from your
main application, then it is a child of your main application, so as soon as
your main application crashes the child is terminated. The trick to making
it work is to have your main application use launchctl to launch the helper.

Polling the crash report file is both wasteful and unnecessary when you have kernel events, and launchd already provides a mechanism for firing off a program when a file changes. See my posting on this same subject from a year and a half ago:
http://lists.apple.com/archives/Cocoa-dev/2006/Feb/msg00586.html


Nicko

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Crash Reporter for Cocoa Application
      • From: Scott Ribe <email@hidden>
References: 
 >Re: Crash Reporter for Cocoa Application (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: CoreImage problems with very large images
  • Next by Date: reading NSTableView cell edits before user tabs or enters
  • Previous by thread: Re: Crash Reporter for Cocoa Application
  • Next by thread: Re: Crash Reporter for Cocoa Application
  • Index(es):
    • Date
    • Thread