v8/test/inspector/regress/regress-crbug-1195927-expected.txt
Benedikt Meurer 53fc4807cd [debug] Disallow LiveEdit of active frames.
Previously we'd allow to replace the source of functions that are on the
current execution stack under certain conditions, but this has resulted
in an endless stream of bugs due to weird edge cases, and so we're now
limiting LiveEdit to functions that don't have any activation (including
not a suspended generator / async function activation).

We might eventually add the ability to LiveEdit functions with
activations and have them "upgrade upon next invocation", but that
doesn't seem to be an extremely important use case right now.

Fixed: chromium:1195927
Change-Id: I87a45ba4d0ddcfbf867bd4e73738d76b2d789e04
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2846892
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74249}
2021-04-28 13:00:19 +00:00

33 lines
574 B
Plaintext

Regression test for crbug.com/1195927
Running test: test
Debugger.setBreakpoint result:
{
actualLocation : {
columnNumber : 2
lineNumber : 2
scriptId : <scriptId>
}
breakpointId : <breakpointId>
}
Debugger.paused call frames:
foo (foo.js:2:2)
(anonymous) (:0:0)
Debugger.setScriptSource result:
{
exceptionDetails : {
columnNumber : 0
exceptionId : <exceptionId>
lineNumber : 0
text :
}
}
foo(42) result:
{
result : {
description : 43
type : number
value : 43
}
}