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
// |jit-test| --no-ggc var g = newGlobal({ newCompartment: true }); g.eval(` function* g3() { debugger; } function next() { g3().next(); } function ggg() { gc(gc); } `); var dbg = new Debugger(g); var frame; dbg.onDebuggerStatement = f => { frame = f; }; g.next(); g.ggg();