chakra-core / chakra-core/ChakraCore
Fix the dynamic attach scenario for generators
Open
Bug
Dev Experience
Severity: 2
Task
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
When the generator object is created we save the interpreterstackframe in it. If we dynamically attach a debugger to it, both the offset and register allocation in the bytecode may defer from the previous values. This will cause issues when we try to continue after an yield from the saved offset. This needs to be fixed for yield resume scenarios.
Contributor guide
Assessment
This issue has not been assessed yet.