The code does not do what I think it should. It is frustrating to tweak it, download it, run it from the block, and find that once again, it does not do what I think it should.

Is there some way to step through a program on the laptop, displaying variables, outputs etc as it runs? Maybe lighting up each block as it is traversed in the program? It is hard to see where my code is bad if I can only test it as a package.

1 Answer 1


No, the software does not provide these kinds of debugging capabilities (although it does animate each block as it runs if you start the program from the programming software instead of starting it from the brick).

There are other ways to debug though. Here are some ideas:

  • Use a display block to show values on the screen
  • Use tones/sounds to indicate when a certain point in the program has been reached
  • Use the brick lights to indicate the state of the program
  • Use a wait block with the brick buttons (or a touch sensor) to "pause" your program at a certain point, then press the button to resume
  • The block animation was subtle on my screen but I watched for it after your post. Thanks.
    – Willk
    Jul 12, 2018 at 0:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.