Open Bug 1360262 Opened 9 years ago Updated 1 year ago

Annotate crash reports with a flag saying whether Debugger was used

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

People

(Reporter: sfink, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 obsolete file)

The Debugger code reimplements a number of interactions with the GC, which makes it a "bug rich environment". I was thinking it might be useful to annotate crash reports to say whether the Debugger was activated.
Keywords: triage-deferred
Priority: -- → P3

The CrashReporter::AnnotateCrashReport method should make this pretty straightforward to achieve. In js::Debugger::construct, we would notify some hook if this was the first time a debugger was created. Could do something simple like clear the hook the first time it is used as a way to notify only once.

Severity: normal → S3
Component: JavaScript: GC → JavaScript Engine
Keywords: triage-deferred

The JS Debugger has reasonably complex behaviour but only some users are
triggering it. Add an annotation to crash dumps if it has ever been used
during current process lifetime. Hopefully this lets us better identify
crashes that result from the debugger.

Attachment #9217774 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: