Open
Bug 1547520
Opened 5 years ago
Updated 2 years ago
[jsdbg2] Debugger.Frames are dumb about suspended generators
Categories
(Core :: JavaScript Engine, enhancement, P2)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: jimb, Unassigned)
References
(Blocks 2 open bugs)
Details
When a generator frame is suspended, many accessors on Debugger.Frame fail to work, even though the information is readily available from the generator object.
The following accessors can be implemented by consulting the generator object:
- arguments
- callee
- environment
- script
The following may take some care to, but should still be recoverable:
- offset
- this
The following are trivial to implement, simply by knowing that the frame is a
suspended generator call:
- constructing
- generator
- type
- implementation
Comment 1•5 years ago
•
|
||
This is a duplicate of bug 1477063. I think I implemented all the items mentioned in comment 0 here, although there was some reason I never landed it, some regression I have forgotten. There are some tests in part 7 there, and a list of more tests I thought would be appropriate.
Updated•5 years ago
|
Priority: -- → P2
Updated•4 years ago
|
Blocks: js-debugger
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•