Mac OS X: no crash report
The crash report is crashreport.
For the official documents about crashreport, see Technical Note tn212.
.
By default, when an application exits due to a system error for various reasons, Mac OS X captures the error and displays a prompt window similar to the following, prompt the user that this program has an error. For example:
You can have three options,
- Ignore ignores the error and exits the program,
- Report... you can submit detailed error reports to Apple.
- Relaunch users can choose to restart the application.
Two levels of prohibition:
1. If this prompt is not displayed, ignore is used by default, but error content is recorded in system logs.
2. The crash reporting service is not started at all.
1: forbidden prompt:
The first utility included in the Development Kit is called crashreporterprefs. app, which is located in the/developer/applications/utilities/directory.
It can be set to three report levels, such:
Basic: the default method.
Developer: This method will provide detailed system information that is conducive to troubleshooting by programmers.
Server: This is what we want.
If no development kit is installed, run the following command on the terminal:
Defaults write COM. apple. crashreporter dialogtype "Basic" <br/> defaults write COM. apple. crashreporter dialogtype "Developer" <br/> defaults write COM. apple. crashreporter dialogtype "server" <br/>
Corresponding to the above three levels.
2. Disable the crash Reporting Service
Run the following terminal command to uninstall the crash report service.
Sudo launchctl unload-W/system/library/launchdaemons/COM. Apple. reportcrash. plist
If you want to disable it at every startup, use the following command.
Sudo defaults write/system/library/launchdaemons/COM. apple. reportcrash disabled true <br/> sudo defaults write/system/library/launchdaemons/COM. apple. reportcrash. safetyNET disabled true <br/>