Mac OS X: Disable crash reporting-crashreport

Source: Internet
Author: User

Mac OS X: Disable crash reporting

The crash report is Crashreport.

As for the official document about Crashreport in technical Note TN212.

In general, by default, Mac OS x catches this error when an application exits with a system error for various reasons, and a prompt similar to the following appears prompting the user for an error. Such as:

Users can have three choices,

    • Ignore is to ignore the error and exit the program.
    • Report ... You can submit a detailed report of the error to Apple.
    • Relaunch users can choose to restart the application.

There are two levels of prohibitions:

1. This prompt does not appear, directly by default ignore, but the error content is logged in the system log.

2. Crash Reporting Service is not started at all

1: Disable prompt:

The first one needs to mention a utility program, called Crashreporterprefs.app, that is included in the development package, in the/developer/applications/utilities/directory.

It can set up three reporting levels, such as:

Basic: That's the default way.

Developer: This method will feed back detailed system information that facilitates the programmer's troubleshooting.

Server: This is what we want.

If you do not have a development package installed, you can use the terminal command:

DefaultsWrite com. Apple. Crashreporter dialogtype "basic"defaults write com. Apple. Crashreporter dialogtype "developer"defaults write com. Apple. Crashreporter dialogtype "server"           

Corresponds to the above three levels respectively.

2. Disable Crash Reporting Service

Run the following terminal command to uninstall the crash Reporting service.

/System/Library/LaunchDaemons/com.apple.ReportCrash.plist

If you want to disable it every time you start, use the following command.

write /System/Library/LaunchDaemons/com.apple.ReportCrash Disabled truesudo defaults write /System/Library/LaunchDaemons/com.apple.ReportCrash.SafetyNet Disabled true


Original link: http://blog.csdn.net/afatgoat/article/details/4562234

Mac OS X: Disable crash reporting-crashreport

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.