Variable visualize or step into debugger -- in Java Lab

Hi, is there a way to slow down the execution of a program (not the video of the output) so that students can watch the program as it runs. Or to track the values of a variable in Java Lab during the program run?

Hi @dmcantor! This is not currently a feature in Java Lab, but I can see how this would be helpful for students. To clarify, are you looking for something like this tool in Java Lab?

Yes. There are a number of outside visualizer tools, but having one in Java Lab would be very helpful. I also notice that when you move the slider bar (rabbit to turtle) it does not slow down the execution of the code, so that console print statements do not show up at the appropriate times, during a slow execution. This may be a bit confusing for some students attempting to debug a tricky logic error.

Thanks for this insight @dmcantor! This is helpful as we plan debugging support and tools for Java Lab. If you have any additional feedback or suggestions, please continue to share these with us!