DescriptionHandle missing context when getting frame details
This bug was triggered by a very specific combination:
* A context-allocated variable at script scope.
* OSR optimization.
* A scheduled breakpoint, which triggers at stack checks.
Stack checks differ from other possible breakpoint locations in that
the context (among other things) may be in a register and not on the
stack, making it impossible to recover during deoptimization. The
frame_inspector then returns undefined when asked for the context.
In GetFrameDetails, handle this case by omitting all context-allocated
variables.
BUG=v8:5279
Committed: https://crrev.com/d25280801118b0a999b87acd6cf8f87a277b666d
Cr-Commit-Position: refs/heads/master@{#38611}
Patch Set 1 #Patch Set 2 : Correctly set local_count #
Messages
Total messages: 19 (14 generated)
|