summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1253246.js
blob: 440959a8c85aa3f2dcc292f7b60bb70a7809c8c7 (plain)
1
2
3
4
5
var g = newGlobal();
var dbg = new Debugger(g);

dbg.onDebuggerStatement = (frame) => { frame.eval("c = 42;"); };
g.evalReturningScope("'use strict'; debugger;");