Complete Block-Level Visual Debugger for Blockly

  • Anthony SavidisEmail author
  • Crystalia Savaki
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 1026)


Blockly is a visual programming editor by Google, being open-source multi-platform and multi-language, while offering jigsaw-style program blocks. It is very popular and currently adopted by an increasing number of visual development solutions. However, as with similar earlier tools, it lacks a full-scale debugger. We present a complete visual debugger for Blockly, working over blocks, supporting the full range of debugging features as with typical source-level debuggers. To support all tracing functions we make no amendments to the underlying JavaScript engine, supporting all debugging operations through code instrumentation inserting invocations to a busy-wait debugger service loop. The latter affects only the source code that is output by Blockly.


Visual programming End-user development Debuggers 


  1. 1.
    Resnick, M., Maloney, J., Monroy-Hernández, A., Rusk, N., Eastmond, E., Brennan, K., Millner, A., Rosenbaum, E., Silver, J., Silverman, B., Kafai, Y.: Scratch: programming for all. Commun. ACM 52(11), 60–67 (2009)CrossRefGoogle Scholar
  2. 2.
    Ousterhout, J.: Scripting: higher-level programming for the 21st century. IEEE Comput. 31(3), 23–30 (1998)CrossRefGoogle Scholar
  3. 3.
    Pasternak, E., Fenichel, R., Marshall, A.N.: Tips for creating a block language with blockly. In: IEEE Blocks and Beyond Workshop (B&B), Raleigh, NC, USA, pp. 21–24 (2017)Google Scholar
  4. 4.
    Maloney, J., Resnick, M., Rusk, N., Silverman, B., Eastmond, E.: The scratch programming language and environment. ACM Trans. Comput. Educ. 10(4), 1–16 (2010). Article 16CrossRefGoogle Scholar
  5. 5.
    Tissenbaum, M., Sheldon, J., Abelson, H.: From computational thinking to computational action. Commun. ACM 62(3), 34–36 (2019)CrossRefGoogle Scholar
  6. 6.
    Ball, T., Burckhardt, S., Halleux, J., Moskal, M., Protzenko, J., Tillmann, N.: Beyond open source: the touch develop cloud-based integrated development environment. In: Proceedings of MOBILESoft, 2nd ACM International Conference on Mobile Software Engineering and Systems, Florence, Italy, pp 83–93, 16–17 May 2015Google Scholar

Copyright information

© Springer Nature Switzerland AG 2020

Authors and Affiliations

  1. 1.ICSFORTHHeraklionGreece
  2. 2.CSDUniversity of CreteHeraklionGreece

Personalised recommendations