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>
17 lines
333 B
Plaintext
17 lines
333 B
Plaintext
Checks that setScriptSource fails for editing functions that are below the top-most frame on the stack
|
|
Paused at (before live edit):
|
|
function foo(b) {
|
|
#debugger;
|
|
return b + 25;
|
|
|
|
Debugger.setScriptSource result:
|
|
{
|
|
status : BlockedByActiveFunction
|
|
}
|
|
Evaluation result:
|
|
{
|
|
description : 33
|
|
type : number
|
|
value : 33
|
|
}
|