v8/test/inspector/debugger/step-snapshot-expected.txt
Toon Verwaest 0b69b05a08 [parser] Iterate declarations to set initializer positions
This allows us to remove the PatternRewriter.

Change-Id: I54ec74ed3bd31e76e38c69f9b0b2a78f8620cd89
Reviewed-on: https://chromium-review.googlesource.com/c/1429863
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59028}
2019-01-23 13:28:58 +00:00

36 lines
431 B
Plaintext

Embedding script 'function c(f, ...args) { return f(...args); }'
Tests that stepping works on snapshotted function
paused
}
#debugger;
c(f, 2);
paused
debugger;
#c(f, 2);
}
paused
function c(f, ...args) { #return f(...args); }
paused
function f(x) {
#return x * 2;
}
paused
function f(x) {
return x * 2;#
}
paused
function c(f, ...args) { return f(...args);# }
paused
c(f, 2);
#}
paused
test()#