Skip to content

The tool’s interface below is still in French.

Bug hunt

Each script contains an error: read what it should do, find the bug, then check with the explanation and the fixed script.

En ligne

Fiche à imprimer

How it works

How to use the debugging exercise generator

Scratch scripts containing one error to find: expected behavior, hint, explanation of the bug and fixed script.

  1. Read the script

    And what it should do.

  2. Ask for a hint

    Before seeing the fix.

  3. Print

    Student sheet and answer key on separate pages, or save as a PDF.

FreeNo subscription, no hidden limits.
No sign-upOpen the page and use the tool. That’s it.
InstantResults in seconds, on mobile too.
PrivateEverything runs in your browser.

About the debugging exercise generator

Debugging is a skill in its own right: running the program in your head, comparing it with what is expected, isolating the faulty line.

The twelve bugs cover the most common mistakes: a miscounted loop, a reversed condition, a reset variable, the order of blocks.

scratch debugging exercises scratch bug hunt debugging activities for kids find the bug scratch coding debugging worksheet scratch errors to fix debug scratch scripts
FAQ

Frequently asked questions about the debugging exercise generator

Do I need a Scratch account?

No. The blocks are drawn in the page; to program, Scratch’s online editor can also be used without an account.

Can students work online?

Yes: each bug has its “Hint” and “Show the fix” buttons.

Can I use these sheets in class?

Yes, freely and at no cost: the documents you generate are yours, with no account and no watermark.

Esc
↑ ↓ navigateEnter open