TV on a Rolling Cart

How to Debug

From Code.org: CS Fundamentals

How to Debug
2 min1st2nd3rd4thTechnology
access

Summary

A short concept video introducing debugging: when a set of steps doesn't work the way you expected, you go back, find the mistake, and fix it. A useful frame for any subject where students troubleshoot their own work, not just code.

Viewer safety

All ages
Common Sense Media — not yet ratedIMDb Parents Guide — not yet rated

Our rating is a quick teacher-to-teacher guide — preview before showing.

Teaching resources

Discussion questions

Discussion

This video explains debugging as finding and fixing a mistake in a set of steps.

  1. What does "debugging" mean, in your own words?
  2. Why is it useful to debug instead of just starting over?
  3. Tell about a time you had to find a mistake in something you were doing -- how did you find it?

Quick work-a-long

Words to know: debug, bug, fix.

Try it: Find the one wrong step in a short set of directions a partner wrote on purpose, and explain how you'd fix it.