forked from hedyorg/hedy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🪲 Fixes for the debugger (hedyorg#5673)
Fixes several bugs for the debugger, including: * Now the debugger disables the continue button, so the only possibility to continue executing the program is when there are no instructions being executed. * Fixed the problem when the debugger did not show the turtle canvas. * Overlays the variable box on top of the output window, so now there's space for it when the turtle also shows in the program. fixes hedyorg#5672 fixes hedyorg#5671 fixes hedyorg#5670 fixes hedyorg#4775 **How to test** * Copy and paste this program in level 2: ``` print I will draw a plus angle is 90 forward 20 sleep 1 turn -90 color blue forward 20 sleep 1 turn 90 color red forward 20 sleep 1 turn -90 color black forward 20 sleep 1 turn -90 color blue forward 20 sleep 1 turn 90 color red forward 20 sleep 1 turn -90 color black forward 20 sleep 1 turn -90 color blue forward 20 sleep 1 turn 90 color red forward 20 sleep 1 turn -90 color black forward 20 sleep 1 turn -90 color blue forward 20 sleep 1 turn 90 color red forward 20 ``` Check that the plus is drawn correctly and that you can't continue pressing continue when the turtle is drawing or the program is sleeping. Once it finishes, check that the variable box is being shown correctly. I also updated and added a few tests.
- Loading branch information
Showing
7 changed files
with
83 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters