// Check the return value. Assert.equal(packet2.frame.where.actor, source.actorID); Assert.equal(packet2.frame.where.line, location.line); Assert.equal(packet2.why.type, "breakpoint"); // Check that the breakpoint worked. Assert.equal(debuggee.a, undefined);
// Remove the breakpoint.
threadFront.removeBreakpoint(location);
await client.waitForRequestsToSettle();
done = true;
threadFront.once("paused", function () { // The breakpoint should not be hit again.
threadFront.resume().then(function () { Assert.ok(false);
});
});
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 ist noch experimentell.