• 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: Force an Application to crash : possible ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Force an Application to crash : possible ?


  • Subject: Re: Force an Application to crash : possible ?
  • From: Camillo Lugaresi <email@hidden>
  • Date: Thu, 12 Jan 2006 17:59:56 +0100

On 12/gen/06, at 10:16, Eric Morand wrote:

NSException works exactly as I needed ! :o)


There is just one problem : the crash report of MacOS X (even with Unsanity Smart Crash Report) doesn't present the exception informations (name, reason,...).
Pretty useless to receive a crash log without the reason of the crash, no ?

Write a global exception handler that does what others have suggested: display an application-modal alert explaining to the user that the application will have to be terminated because of an error condition, with a field showing the report that will be sent to you, a default button to send it, and an alternate button that quits wihout sending the report.


Assuming, of course, that the exception is not so bad that it makes displaying an alert impossible... :-)

Camillo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Force an Application to crash : possible ?
      • From: John Stiles <email@hidden>
References: 
 >Force an Application to crash : possible ? (From: Eric Morand <email@hidden>)
 >Re: Force an Application to crash : possible ? (From: Robert Cerny <email@hidden>)
 >Re: Force an Application to crash : possible ? (From: Eric Morand <email@hidden>)
 >Re: Force an Application to crash : possible ? (From: "I. Savant" <email@hidden>)
 >Re: Force an Application to crash : possible ? (From: Eric Morand <email@hidden>)
 >Re: Force an Application to crash : possible ? (From: "I. Savant" <email@hidden>)
 >Re: Force an Application to crash : possible ? (From: Eric Morand <email@hidden>)

  • Prev by Date: Re: Cocoa Custom NSCell Binding Issue
  • Next by Date: Re: Force an Application to crash : possible ?
  • Previous by thread: Re: Force an Application to crash : possible ?
  • Next by thread: Re: Force an Application to crash : possible ?
  • Index(es):
    • Date
    • Thread