blob: fc86902c6440eaf62aaf474b0b232eab734d489b (
plain)
1
2
3
4
5
6
|
var g1 = newGlobal({newCompartment: true});
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();
|