blob: 7853ed73707a6a6d8b46e58f97f67edf392c8351 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
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
return x * 2;
#}
debugger;
paused
function c(f, ...args) { return f(...args); #}
paused
c(f, 2);
#}
paused
test(#)
|