nsISupports
Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)void annotateCrashReport(in ACString key, in ACString data); |
void appendAppNotesToCrashReport(in ACString data); |
void appendObjCExceptionInfoToAppNotes(in voidPtr aException); Native code only! |
void writeMinidumpForException(in voidPtr aExceptionInfo); Native code only! |
Attribute | Type | Description |
enabled | boolean | Enable or disable the crashreporter at runtime. |
minidumpPath |
| Get or set the path on the local system to which minidumps will be written when a crash happens. Exceptions thrown
|
serverURL |
| Get or set the URL to which crash reports will be submitted. Only https and http URLs are allowed, as the submission is handled by OS-native networking libraries. Exceptions thrown
|
submitReports | boolean | User preference for submitting crash reports. |
Add some extra data to be submitted with a crash report.
void annotateCrashReport( in ACString key, in ACString data );
key
data
NS_ERROR_INVALID_ARG
NS_ERROR_NOT_INITIALIZED
Append some data to the "Notes" field, to be submitted with a crash report. Unlike annotateCrashReport()
, this method will append to existing data.
void appendAppNotesToCrashReport( in ACString data );
data
NS_ERROR_INVALID_ARG
NS_ERROR_NOT_INITIALIZED
Append note containing an Obj-C exception's info.
void appendObjCExceptionInfoToAppNotes( in voidPtr aException );
aException
Write a minidump immediately, with the user-supplied exception information. This is implemented on Windows only, because SEH (structured exception handling) exists on Windows only.
void writeMinidumpForException( in voidPtr aExceptionInfo );
aExceptionInfo