Integrate debugger into analyzer

This commit is contained in:
momo5502
2025-04-29 09:25:25 +02:00
parent fd6d4f0420
commit 5ed3036d53
8 changed files with 18 additions and 240 deletions

View File

@@ -51,7 +51,7 @@ function getMessageFromQueue() {
function runEmulation(filesystem, file, options) {
globalThis.Module = {
arguments: ["./root", file],
arguments: [...options, "-e", "./root", file],
onRuntimeInitialized: function () {
filesystem.forEach((e) => {
if (e.name.endsWith("/")) {
@@ -74,5 +74,5 @@ function runEmulation(filesystem, file, options) {
postRun: flushLines,
};
importScripts("./debugger.js");
importScripts("./analyzer.js");
}