blob: 524072072dc8ff4c02998c8f81d05660d2ec1ef4 [file] [log] [blame]
var g = newGlobal();
g.log = '';
var dbg = Debugger(g);
dbg.onDebuggerStatement = function (stack) { g.log += '!'; };
assertEq(g.eval("log += '1'; debugger; log += '2'; 3;"), 3);
assertEq(g.log, '1!2');