Source code

Revision control

Copy as Markdown

Other Tools

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();