Re: How to disable Apple's Bug Report Dialog when application crash?
Re: How to disable Apple's Bug Report Dialog when application crash?
- Subject: Re: How to disable Apple's Bug Report Dialog when application crash?
- From: j o a r <email@hidden>
- Date: Wed, 21 Jul 2004 17:38:33 +0200
On 2004-07-21, at 12.56, Goran Predovic wrote:
>
Is there any way to replace apple's bug report dialog with custom
>
dialog?
>
>
I tried with signals. It works well to insert custom handler on
>
signals like SIGTRAP,
>
but apple's bug report dialog is always displays.
I guess that there are two ways you can approach this problem.
1) /System/Library/Frameworks/ExceptionHandling.framework
Using this framework you can catch exceptions that would otherwise
crash the applications, and deal with them yourself. This includes the
ability to get hold of the backtrace of the exception.
2) <
http://developer.apple.com/qa/qa2001/qa1288.html>
In our application I have used #1 above to be able to log the backtrace
of any exception to our custom log file, that is then used by our
support department when tracking down problems. It works really well.
j o a r
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.