Activity 01
Pair Debug Relay: Hidden Bug Chain
Provide pairs with code containing three linked bugs. Partner A runs tests and notes failures; Partner B proposes fixes using IDE tools, then they switch roles. Pairs log steps and share one key insight with the class.
Explain systematic approaches to debugging complex software issues.
Facilitation TipBefore starting Pair Debug Relay, assign specific roles (e.g., reader, debugger) to ensure both students engage with the hidden chain.
What to look forProvide students with a small, intentionally buggy code snippet. Ask them to identify the bug and describe the specific debugging technique (e.g., breakpoint, print statement) they would use to find it, explaining why that technique is suitable.