Debug Across Tries
Build it, test it, find the bug, then change ONE thing and try again — until it works.

Kavi's Three Claps
Kavi the owl built a little robot to clap 3 times. She tested it — Try 1: clap! Just one clap. "Hmm, not three," said Kavi. She didn't start over. She found the bug — the code said repeat 1 — and changed just that one thing to repeat 3. She tested again — Try 2: clap, clap, clap! "Test, find the bug, fix one thing, try again," hooted Kavi. "Every try gets me closer!"
What your child will learn
A peek inside
Try this at home: Right after you fix a bug, what should you do?
Questions parents ask
+What does it mean to debug across tries?
It means you don't expect your build to work the first time. You test it, find the bug, change one thing, then test again — that's a new try. Each try gets you closer, and you keep going round the loop until the build does what you meant.
+Why change just one thing between tries?
So you can tell exactly what fixed the bug. If you change five things at once and the next try works, you still don't know which change helped. Change one thing, test, and every try teaches you something real.
+How does comparing two tries help you find a bug?
When you change one step and run the next try, the difference between what Try 1 did and what Try 2 did points you to the bug. Comparing tries is how you narrow down where the problem is.
+If my first tries fail, should I give up?
No. A bug you have found is a bug you can fix. Failing tries are not the end — they show you more about where the problem is. Good builders keep testing and fixing, one small change at a time.
+What age is this 'Debug Across Tries' lesson for?
It is a Stage 5 lesson for roughly ages 10–11 in KAVI Academy's AI-literacy and creating-with-AI track. It uses ordering, sorting and find-the-bug puzzles with light reading.
+Is the lesson free?
Yes — this overview and the printable PDF handout are free. The full interactive lesson and the endless practice are part of KAVI Academy.
Ready to play and learn?
Start the free interactive lesson, or print the handout for screen-free play.
Part of AI Literacy · Stage 5 · S5 on KAVI Academy — a secular, whole-child learning platform for ages 5–12.
