blob: a87c9bdba7d74f2cde18652910ac6cc9ba549bb2 (
plain)
1
2
3
4
5
6
7
8
|
// Adding a debuggee in a compartment that is already in debug mode works
// even if a script from that compartment is on the stack.
var g = newGlobal();
var dbg1 = Debugger(g);
var dbg2 = Debugger();
g.parent = this;
g.eval("parent.dbg2.addDebuggee(this);");
|