Skip to content

Commit a8e05d8

Browse files
Merge pull request #19961 from nicolo-ribaudo/debugger-contructPath-op
Show the op dispatched by constructPath in the debugger
2 parents d81174d + 0596f03 commit a8e05d8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

web/debugger.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,14 @@ class Stepper {
374374
table.classList.add("showText");
375375
decArgs.append(table);
376376
table.append(charCodeRow, fontCharRow, unicodeRow);
377+
} else if (fn === "constructPath") {
378+
const [op, [path], minMax] = args;
379+
decArgs = this.#c("td");
380+
decArgs.append(JSON.stringify(this.#simplifyArgs(path)));
381+
decArgs.append(this.#c("br"));
382+
decArgs.append(`minMax: ${JSON.stringify(this.#simplifyArgs(minMax))}`);
383+
decArgs.append(this.#c("br"));
384+
decArgs.append(`→ ${opMap[op]}`);
377385
} else if (fn === "restore" && this.indentLevel > 0) {
378386
this.indentLevel--;
379387
}

0 commit comments

Comments
 (0)