Skip to main content

🐞 Lesson 3.3: Debugging & Remixing

Bugs aren't the enemy β€” they're the job. This lesson gives you a calm, repeatable way to find and fix problems (and coach your child through the frustration), plus how to learn from the world's biggest library of kid-made code.

🎯 Learning Objectives

  • Apply a simple 4-step debugging method
  • Recognize the most common Scratch bugs and their fixes
  • Use See Inside to learn from any shared project
  • Understand what remixing is (and its good etiquette)

Estimated Time: 35 minutes  β€’  Builds on: All of Modules 1–3

Ages 5–7 (with help) Ages 8–11 Ages 12+
In This Lesson

πŸŽ“ Learn It: The debugging mindset

Professional programmers spend more time fixing than writing. "Bug" is just the word for "not doing what I expected yet." The single most valuable thing you can model for your child is calm curiosity in the face of a bug.

The computer isn't wrong and it isn't being mean. It's doing exactly what the blocks say. Debugging is the detective game of finding the gap between what you said and what you meant.

βœ… Reframe the language

Swap "It's broken / I failed" for "Interesting β€” let's find out why." Bugs become puzzles instead of defeats. This one habit protects a child's confidence for years.

πŸŽ“ Learn It: The 4-step method

When something's wrong, resist random flailing. Walk this loop instead:

flowchart LR A["1 Β· Watch
what actually happens"] --> B["2 Β· Predict
which block causes it"] B --> C["3 Β· Change
ONE thing"] C --> D["4 Β· Test
run it again"] D -->|still wrong| A D -->|fixed!| E([πŸŽ‰]) style A fill:#4C97FF,color:#fff,stroke:#333 style B fill:#5CB1D6,color:#fff,stroke:#333 style C fill:#FFAB19,color:#5c3d00,stroke:#333 style D fill:#59C059,color:#fff,stroke:#333

The golden rule is step 3: change only one thing at a time, then test. Change five things and you'll never know which one mattered.

πŸ” Scratch's built-in debugging helpers

  • Click a block or stack to run just that piece and watch what it does.
  • Tick a variable's checkbox to watch its value change live on the stage.
  • Add a temporary "say" block to print a value: say (score) tells you what the computer "thinks."
  • Slow it down with wait blocks so you can see each step.

πŸŽ“ Learn It: The usual suspects

90% of Scratch bugs are one of these. Keep this table handy:

SymptomUsual causeFix
Nothing happensCode is on the wrong spriteSelect the right sprite in the sprite list
Runs once, never reacts againAn if with no loop around itWrap the check in a forever loop
Blocks after a loop never runTrapped below a foreverMove them inside, or use repeat until
Sprite zooms off / upside-downPosition not reset / rotation styleAdd go to x/y at start; set rotation to left-right
Score jumps by many at onceCondition stays true for many framesMove the sprite away, or add a short wait after scoring
Two sprites out of syncRelying on wait timingCoordinate with broadcast / when I receive

πŸŽ“ Learn It: See Inside & remixing

One of Scratch's superpowers: you can look at the code of almost any shared project. On a project's page, click β€œSee Inside” to open its full code and explore how it was made β€” a bottomless, free learning resource.

A shared Scratch project page showing the project player with a green flag, an Instructions panel, love/favorite/remix/view counts, a 'See Inside' button at the top right, and a Copy Link button.
Figure 1: A shared project page. See Inside (top-right) reveals the code; the icons show loves, favorites, remixes, and views.

Remixing means making your own copy of someone's project to change and build on. Click See Inside, then Remix (when signed in), and it becomes yours to modify. Scratch is built around this β€” it's encouraged, not frowned upon.

βœ… Remixing done right

  • Change something meaningful and make it your own.
  • Scratch auto-credits the original β€” leave that intact.
  • Thank the original creator in your notes.

⚠️ Talk with your child about

  • Remixing to learn, not to claim someone's work as fully theirs.
  • It's normal (and great) to learn by studying others' code.
Reading other people's code is how every programmer improves. "See Inside" turns the whole Scratch community into your child's textbook.

πŸ’¬ Teach It: Coaching through frustration

A bug plus a tired kid equals tears. Your calm is the most important debugging tool in the room.

The "rubber duck" trick

Have your child explain their code out loud, block by block, to you (or a stuffed animal). Astonishingly often, they find the bug themselves mid-sentence β€” just from saying it aloud.

"Walk me through it like I know nothing. What should this block do? …and what did it actually do?"

Ask, don't fix

  • "What did you expect to happen?"
  • "What happened instead?"
  • "Which block do you think is responsible?"
  • "What's one thing we could change to test that?"

Know when to take a break

If frustration boils over, stop. "Let's let our brains rest β€” coders do this all the time." Walking away and coming back fresh is a real, professional debugging strategy, not giving up.

πŸ‘§ Ages 5–7

Keep bugs tiny and fixes fast. Celebrate the fix dramatically: "You SQUASHED the bug!" 🐞

πŸ§’ Ages 8–11

Teach the 4-step method explicitly. Let them lead; you ask the questions. Introduce "See Inside" on a project they love.

πŸ§‘ Ages 12+

Encourage remixing an ambitious project to learn a new technique, then bringing that idea back to their own work.

⚠️ The biggest parent mistake

Grabbing the mouse and fixing it yourself. It ends the frustration and the learning. Sit on your hands; ask one more question. The pride of their fix is the whole point.

🎯 Quick Check

Question 1: The golden rule of debugging is…

Question 2: What does "See Inside" do on a shared project?

Question 3: Your child is melting down over a stubborn bug. Best move?

Summary & Module 3 Complete πŸŽ‰

πŸŽ‰ Key Takeaways

  • Bugs are normal. Model calm curiosity, not frustration.
  • Debug with a loop: Watch β†’ Predict β†’ Change one thing β†’ Test.
  • Most bugs are a handful of usual suspects β€” keep the table handy.
  • See Inside and remixing turn the whole community into a learning resource.

πŸ† Module 3 done!

You've built a story and a game, and you can fix things when they wobble. That's a genuinely capable coding buddy.

πŸš€ What's next

Module 4 steps back from blocks to focus on you as a teacher β€” how to nurture without hovering, how to keep your child safe when sharing, and where the adventure goes after Scratch.

🏠 Back to Course Home