Compare commits

..

1 Commits

Author SHA1 Message Date
fda33112a7 fix: load maps when attaching debugger 2024-03-30 11:13:45 +02:00
2 changed files with 4 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
project_group = me.topchetoeu
project_name = jscript
project_version = 0.9.24-beta
project_version = 0.9.25-beta
main_class = me.topchetoeu.jscript.utils.JScriptRepl

View File

@@ -32,6 +32,9 @@ public class DebugContext {
if (sources != null) {
for (var source : sources.entrySet()) debugger.onSourceLoad(source.getKey(), source.getValue());
}
if (maps != null) {
for (var map : maps.entrySet()) debugger.onFunctionLoad(map.getKey(), map.getValue());
}
this.debugger = debugger;
return true;