minecraft-debugger icon indicating copy to clipboard operation
minecraft-debugger copied to clipboard

Reload source maps in the debugger when reloading the script environment

Open rroman6174 opened this issue 1 year ago • 0 comments

As a Minecraft script developer, I want the VSCode debugger to automatically reload source maps when the game is reloaded using the /reload command so that my breakpoints and other debugging tools continue to work correctly without requiring manual intervention.

Description

Currently, when I use the /reload command in Minecraft, the VSCode debugger does not reload the source maps. This causes breakpoints and other debugging tools to become misaligned or ineffective, which interrupts my workflow and requires me to manually reload the extension.

Acceptance Criteria

  1. Given I have the Minecraft script debugger VSCode extension running and attached to a Minecraft game, When I execute the /reload command in Minecraft, Then the VSCode debugger should automatically reload the source maps.

  2. Given I have set breakpoints in my script files before executing the /reload command, When the source maps are reloaded automatically, Then the breakpoints should remain accurate and functional without requiring manual adjustment or extension reload.

rroman6174 avatar Aug 07 '24 03:08 rroman6174