An integrated approach to instruction in debugging computer programs
Ryan Chmiel, Michael C. Loui · 2004
The purpose of this study is to demonstrate that formal training in debugging helps students develop skills in diagnosing and removing defects from computer programs. To accomplish this goal in an assembly language course, multiple activities were designed in order to enhance students' debugging skills. Students completed debugging exercises before developing the code for each programming assignment. Each set of exercises focused on the major topics covered in the assignment. Students also kept debugging logs as they worked on the assignments. In these logs, students recorded both the source of each defect and how the defect was corrected. Students reflected on their approach to each programming assignment and documented their code development and debugging experiences in a reflective memo. Last, for one programming assignment, students worked in teams of four. They identified defects collaboratively using code inspection. Students' responses to these activities have been positive and constructive.