step-snapshot-expected.txt 431 Bytes
Newer Older
1
Embedding script 'function c(f, ...args) { return f(...args); }'
2
Tests that stepping works on snapshotted function
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
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
22 23 24
  function f(x) {
    return x * 2;#
  }
25 26

paused
27
function c(f, ...args) { return f(...args);# }
28 29 30 31 32 33

paused
  c(f, 2);
#}

paused
34
test()#
35