blob: 93350368e9d606294814f40cd3d2dc46df6c7771 (
plain)
1
2
3
4
5
6
|
var g1 = newGlobal();
var dbg = Debugger(g1);
g1.dbg = dbg;
g1.eval("function foo() { dbg.removeDebuggee(this); }");
g1.eval("function f() { try { throw 3; } catch(e) { foo(); } }\n");
g1.f();
|