/** *Checkthatstepoutstopsattheparentandtheparent'sparent. forthefailurefoundinjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
*/
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
( {threadFront)=
dumpnjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 const dbgStmt = await executeOnNextTickAndWaitForPause(
() => evaluateTestCode(debuggee),
threadFront
);
equal(
dbgStmt.frame.where.line, 3, "Should be at debugger statement on line 3"
);
dumpn("Step out of inner and into var statement IIFE"); const step2 = await stepOut(threadFront);
equal(step2.frame.where.line, 4);
deepEqual(step2.why.frameFinished.return, { type: "undefined" });
dumpn("Step out of vars and into script body"); const step3 = await stepOut(threadFront);
equal(step3.frame.where.line, 9);
deepEqual(step3.why.frameFinished.return, { type: "undefined" });
})
);
function evaluateTestCode(debuggee) {
Cu.evalInSandbox(
`
(function() {
(function(){debugger;})(); var a = 1;
a = 2;
a = 3;
a = 4;
})();
`,
debuggee, "1.8", "test_stepping-10-test-code.js", 1
);
}
Messung V0.5 in Prozent
¤ 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.0.6Bemerkung:
¤
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.