Closed
Bug 1172116
Opened 10 years ago
Closed 5 years ago
Add a way to get a Debugger.Source from a SavedFrame
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: fitzgen, Unassigned)
References
Details
SavedFrame.prototype.getDebuggerSource(dbgInstance) ?
We would need to hold a ref to the ScriptSourceObject in SavedFrame. Should it be weak? Should we have a flag when capturing the stack for whether we want to hold this ref or not, so that SavedFrame objects used internally by Error objects don't hold more than they bargained for?
Who knows?! Let's figure it out!
| Reporter | ||
Comment 1•10 years ago
|
||
See bug 1084525 comment 41 about the troubles we are having because we don't have access to Debugger.Source for SavedFrames.
See Also: → 1084525
Comment 2•5 years ago
|
||
This should be covered by the "sourceId" added in https://bugzilla.mozilla.org/show_bug.cgi?id=1447244.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•