Debugging
Introduction
Detect and correct errors in algorithms and programs
Self study resources
Jonassen, D (2004) Learning to Solve Problems.
Resources for lectures or group study
Comments on troubleshooting and debugging from Roehampton Y1 flipped lecture on problem solving.
Rubber Duck debugging - from the Pragmatic Programmer - a debugging or code-review technique involving explaining the code, line-by-line to a rubber duck. Other quasi-anthropomorphic toys are available.
Resources for use with pupils
Debug It! A collection of five Scratch scripts that aren't working as they should from Karen Brennan of MIT's Lifelong Kindergarten Group.Â
Debugging Python Code This text coding is only made possible in Y6 through having an expectation of pupils debugging their own work. If pupils debug work themselves they fill in a sticker and place it on a chart or fill in their name on a collaborative Google Spreadsheet. Blog post about this.
Cargo-Bot iPad iOS app: demonstrates programming concepts in a visual way and makes debugging fun by awarding stars for elegant solutions.
Debugging progression in Scratch by Phil Bagge
Can I spot if there is a problem?
Can I work out where it is in the code?
Can I correct the code?