1 2 3 4 5 6 7 8 9 10 11 12 13 14
// |jit-test| error:123 var g = newGlobal(); g.eval('function f() { var y; debugger; }'); var dbg = new Debugger(g); dbg.onDebuggerStatement = function handleDebugger(frame) { frame.onPop = function(c) { this.eval('y = 33'); return {throw: 123}; } }; g.f();