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