Mac OS X: no crash report

Source: Internet
Author: User

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/>



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.