Environment variables affecting crash reporting

  • Revision slug: Environment_variables_affecting_crash_reporting
  • Revision title: Environment variables affecting crash reporting
  • Revision id: 100157
  • Created:
  • Creator: Ted_Mielczarek
  • Is current revision? No
  • Comment MOZ_CRASHREPORTER_NO_REPORT, OS X trick

Revision Content

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.

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:

 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.

{{ wiki.languages( { "ja": "ja/Environment_variables_affecting_crash_reporting" } ) }}

Revision Source

<p>
</p><p>The <a href="en/Crash_Reporting">Breakpad crash reporting</a> used in Mozilla projects supports some environment variables, primarily for testing purposes.  The following environment variables affect crash reporting:
</p>
<dl><dt>MOZ_CRASHREPORTER_URL
</dt><dd>Sets the URL that the crash reporter will submit reports to.
</dd><dt>MOZ_CRASHREPORTER_NO_DELETE_DUMP
</dt><dd>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.
</dd><dt>MOZ_CRASHREPORTER_NO_REPORT
</dt><dd>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".
</dd><dt>MOZ_CRASHREPORTER_DISABLE
</dt><dd>Disable Breakpad crash reporting completely.  You can use this if you would rather use the JIT debugger on Windows with the <a href="en/Using_the_Mozilla_symbol_server">symbol server</a>, for example.
</dd></dl>
<p>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:
</p>
<pre class="eval"> defaults write org.mozilla.firefox OSCrashReporter 1
</pre>
<p>Note that you will get two crash dialogs with this setting, one from the OS and one from Mozilla.
</p>
<div class="noinclude">
</div>
{{ wiki.languages( { "ja": "ja/Environment_variables_affecting_crash_reporting" } ) }}
Revert to this revision