diff --git a/gradle.properties b/gradle.properties index 2acbe53..3f6c4bd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/src/java/me/topchetoeu/jscript/runtime/debug/DebugContext.java b/src/java/me/topchetoeu/jscript/runtime/debug/DebugContext.java index c87a3b4..f43e7bc 100644 --- a/src/java/me/topchetoeu/jscript/runtime/debug/DebugContext.java +++ b/src/java/me/topchetoeu/jscript/runtime/debug/DebugContext.java @@ -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;