[jsdbg2] Debugger.Frame should report script, callee, bytecode offset for suspended generator frames
Categories
(Core :: JavaScript Engine, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: jimb, Assigned: loganfsmyth)
References
Details
Attachments
(5 files)
At the moment, a Debugger.Frame
for a suspended generator or async call can't report any information about the suspended call, but the generator object referred to by the frame's GeneratorInfo
structure has a lot of information.
In particular, to obtain stack traces, we need to be able to obtain the callee and the bytecode offset within that callee. These are available via the CALLEE_SLOT
and RESUME_INDEX_SLOT
reserved slots in any AbstractGeneratorObject
.
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D54488
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D54489
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D54490
Assignee | ||
Comment 5•5 years ago
|
||
Depends on D54491
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3ccdf607f39d
https://hg.mozilla.org/mozilla-central/rev/c54ca77cc17b
https://hg.mozilla.org/mozilla-central/rev/b6f777ff55d5
https://hg.mozilla.org/mozilla-central/rev/3a3b4395b1da
https://hg.mozilla.org/mozilla-central/rev/664889e8c4a6
Description
•