// The onExceptionUnwind hook is called multiple times as the stack unwinds.
var g = newGlobal({newCompartment: true});
g.debuggeeGlobal = this;
g.dbg = null;
g.eval("(" + function () {
dbg = new Debugger(debuggeeGlobal);
dbg.onExceptionUnwind = function (frame, exc) {
assertEq(frame instanceof Debugger.Frame, true);
assertEq(exc instanceof Debugger.Object, true); var s = '!'; for (var f = frame; f; f = f.older) if (f.type === "call")
s += f.callee.name;
s += ', ';
debuggeeGlobal.log += s;
};
} + ")();");
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.