Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/js/src/jit-test/tests/debug/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 498 B image not shown  

Quelle  Frame-onPop-09.js

  Sprache: JAVA
 

// Setting onPop handlers from an onExceptionUnwind handler works.
var g = newGlobal({newCompartment: true});
var dbg = new Debugger(g);
var log;

dbg.onExceptionUnwind = function handleUnwind(frame) {
    log += 'u';
    assertEq(frame.type, "eval");
    frame.onPop = function handleCallPop(c) {
        log += ')';
        assertEq(c.throw'up');
    };
};

log = "";
try {
    g.eval("throw 'up';");
    log += '-';
catch (x) {
    log += 'c';
    assertEq(x, 'up');
}
assertEq(log, 'u)c');

Messung V0.5 in Prozent
C=95 H=91 G=92

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-06-10) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

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.