1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/components/crashes/docs/index.rst Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +.. _crashes_crashmanager: 1.5 + 1.6 +============= 1.7 +Crash Manager 1.8 +============= 1.9 + 1.10 +The **Crash Manager** is a service and interface for managing crash 1.11 +data within the Gecko application. 1.12 + 1.13 +From JavaScript, the service can be accessed via:: 1.14 + 1.15 + Cu.import("resource://gre/modules/Services.jsm"); 1.16 + let crashManager = Services.crashmanager; 1.17 + 1.18 +That will give you an instance of ``CrashManager`` from ``CrashManager.jsm``. 1.19 +From there, you can access and manipulate crash data. 1.20 + 1.21 +Other Documents 1.22 +=============== 1.23 + 1.24 +.. toctree:: 1.25 + :maxdepth: 1 1.26 + 1.27 + crash-events