[GREENFOOT-665] Check the debugger reset handling
In GreenfootDebugHandler, currently line 305, there is a block that begins:
else if (atBreakpoint && e.getBreakpointProperties().get(RESET_KEY) != null)
This code makes sure that the simulation thread is resumed when reset is clicked, and the object bench is cleared. This code won't work as it stands because it is setting a breakpoint in the debug VM ResetWorldAction, which we no longer use. We need to either put the code in a method and call it directly when the reset button is clicked on the server VM, or listen to a different breakpoint. I think the former is the right thing to do.
Issue metadata
- Issue type: Task
- Priority: Medium