summaryrefslogtreecommitdiffstats
path: root/toolkit/components/crashes/docs/index.rst
blob: e2ab50ea4d31495e5f4b0b431eb4a51f6eabe1b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.. _crashes_crashmanager:

=============
Crash Manager
=============

The **Crash Manager** is a service and interface for managing crash
data within the Gecko application.

From JavaScript, the service can be accessed via::

   Cu.import("resource://gre/modules/Services.jsm");
   let crashManager = Services.crashmanager;

That will give you an instance of ``CrashManager`` from ``CrashManager.jsm``.
From there, you can access and manipulate crash data.

Other Documents
===============

.. toctree::
   :maxdepth: 1

   crash-events