Common sense computing (episode 4): debugging

Beth Simon,Dennis Bouvier,Tzu-Yi Chen,Gary Lewandowski,Robert McCartney,Kate Sanders
DOI: https://doi.org/10.1080/08993400802114698
2008-06-01
Computer Science Education
Abstract:We report on responses to a series of four questions designed to identify pre-existing abilities related to debugging and troubleshooting experiences of novice students before they begin programming instruction. The focus of these questions include general troubleshooting, bug location, exploring unfamiliar environments, and describing students' real life troubleshooting experiences. We find that the common sense experience of students related to debugging is often at odds with the needs for debugging programs. Student troubleshooting experiences recognize real world non-determinism and rarely require undoing an attempted fix. Based on student answers, we shed light on some specific frustrations of instructors and make a set of recommendations for teaching, including addressing the difference between finding an error and fixing it, modeling the formation of multiple hypotheses, and encouraging students to apply domain knowledge.
What problem does this paper attempt to address?