When I look at the level that has a “For Teachers Only” link and then click on the “Example Solution 1” there is an actualy a debugger available (step in/out, watch variables). I was pretty excited to see this, alas I can not figure out how to access this at any other time in Code Studio. I’m sure I’m doing something wrong because it makes no sense that in the lesson on debugging (Unit 3 Lesson 6 in csp3-2024), for instance, the students would not have access to this tool.
@krich The enhanced debugging tool is introduced to the students in U4L3 (Variables Practice) when they learn about Local and Global Scope. Students don’t need the step tools based on the instructional goals for unit 3.
@varrience I agree that this is a bug or at least a signficant design oversight. Debuggers, even rudimentary ones, are powerful tools that I’d love to give my students the opportunity to use as soon as we talk about debugging. I’ve seen too many engineers that never learned even the basics of a debugger because they first learned to put log messages in the code. This adversely impacted their productivity (when all you have is a hammer, everything is a nail). Thank you for your help!
@tstone Thank you for the response. I’m really disappointed to hear that the debugger is unavailalble for a lesson on debugging (and then the app development). Even just the rudimentary ability to set a breakpoint and then step line by line is useful. I’m perplexed as to why this is not (at least optionally at the instructors discretion) made available to the students. I understand trying not to overwhelm the students but I’d much rather they’d learned how to use a very basic debugger as early as possible, it is such a valuable tool to anyone developing code.