Environment variables affecting crash reporting
From MDC
The Breakpad crash reporting used in Mozilla projects supports some environment variables, primarily for testing purposes. The following environment variables affect crash reporting:
- MOZ_CRASHREPORTER_URL
- Sets the URL that the crash reporter will submit reports to.
- MOZ_CRASHREPORTER_NO_DELETE_DUMP
- Don't delete the crash report dump file after submitting it to the server. Minidumps will still be moved to the "Crash Reports/pending" directory.
- MOZ_CRASHREPORTER_NO_REPORT
- Save the minidump file but don't launch the crash reporting UI or send the report to the server. Minidumps will be stored in the user's profile directory, in a subdirectory named "minidumps".
- MOZ_CRASHREPORTER_DISABLE
- Disable Breakpad crash reporting completely. You can use this if you would rather use the JIT debugger on Windows with the symbol server, for example.
- MOZ_CRASHREPORTER
- The opposite of MOZ_CRASHREPORTER_DISABLE, force crash reporting on even if disabled in application.ini.
Additionally, on Mac OS X, you can set an application default setting to allow Apple's Crash Reporter tool to run alongside the Breakpad crash reporter. Run this on the command line:
defaults write org.mozilla.firefox OSCrashReporter 1
Note that you will get two crash dialogs with this setting, one from the OS and one from Mozilla.