• 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: Mon, 12 Nov 2007 01:35:44 +0000

On 12 Nov 2007, at 01:15, John Stiles wrote:

There's no way to tell Apple's crash reporter to send reports to you. You can write your own crash reporter app or find open-source ones.

Perhaps the easiest thing to do, though, is to look in the ~/Library/ CrashReporter/YourApp folder when the app starts up, and see if any new files are there. If so, the user crashed in their previous run, and you can offer to send in the report. Voila, a crash reporter in a very small amount of code (and it's not fiddly like catching signals or dealing with Mach exceptions can be).

About 18 months Uli Kusterer and I both posted code for handling crash reports. The two methods employed each have their own benefits and drawbacks. You can find the posts here:
http://lists.apple.com/archives/Cocoa-dev/2006/Feb/msg00360.html
http://lists.apple.com/archives/Cocoa-dev/2006/Feb/msg00586.html


Having said that, this seems like something so many people want to do that perhaps Apple should consider adding some code to their Crash Reporter which looks in the Info.plist of the crashed application for a URL to which to post crash information and give the user an easy way to report crashed in 3rd party apps. I think I shall file an enhancement request to this effect.

	Cheers,
		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: Michael Watson <email@hidden>
References: 
 >Crash Reporter for Cocoa Application (From: JanakiRam <email@hidden>)
 >Re: Crash Reporter for Cocoa Application (From: John Stiles <email@hidden>)

  • Prev by Date: Re: compiler error related to 'save' method of NSUserDefaultsController
  • Next by Date: Re: Crash Reporter for Cocoa Application
  • Previous by thread: Re: Crash Reporter for Cocoa Application
  • Next by thread: Re: Crash Reporter for Cocoa Application
  • Index(es):
    • Date
    • Thread