Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

Commit

Permalink
fix: load maps when attaching debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
TopchetoEU committed Mar 30, 2024
1 parent 67b2413 commit fda3311
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ public boolean attachDebugger(DebugHandler debugger) {
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;
Expand Down

0 comments on commit fda3311

Please sign in to comment.