mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 11:36:57 +00:00

PR-URL: https://github.com/nodejs/node/pull/44741 Fixes: https://github.com/nodejs/node/issues/44650 Fixes: https://github.com/nodejs/node/issues/37472 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
22 lines
485 B
Plaintext
22 lines
485 B
Plaintext
Checks that setScriptSource fails when editing the top-most stack frame, but that function also has an activation further down the stack
|
|
First pause at (before live edit):
|
|
function testExpression(a, b) {
|
|
#debugger;
|
|
if (!a && !b) {
|
|
|
|
Second pause at (before live edit):
|
|
function testExpression(a, b) {
|
|
#debugger;
|
|
if (!a && !b) {
|
|
|
|
Debugger.setScriptSource result:
|
|
{
|
|
status : BlockedByActiveFunction
|
|
}
|
|
Evaluation result:
|
|
{
|
|
description : 8
|
|
type : number
|
|
value : 8
|
|
}
|