Debugging Debugging
CISC 323
Winter 2006
- Prof. Lamb
- Prof. Kelly
malamb@cs.queensu.ca kelly-d@rmc.ca
Debugging Debugging CISC 323 Winter 2006 Prof. Lamb Prof. Kelly - - PowerPoint PPT Presentation
Debugging Debugging CISC 323 Winter 2006 Prof. Lamb Prof. Kelly malamb@cs.queensu.ca kelly-d@rmc.ca Included in Courseware Required reading: My Hairiest Bug War Stories Marc Eisenstadt Communications of the ACM,
Winter 2006
malamb@cs.queensu.ca kelly-d@rmc.ca
2
– What is debugging? – What three categories are identified by Eisenstadt to better understand debugging? – What experience have you had in debugging?
3
– The activity that is a consequence of successful testing – The process that results in the removal of the error – The process that locates and corrects the defect
» you hope!
– Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program or a piece of electronic hardware thus making it behave as
subsystems are tightly coupled, as changes in one may cause bugs to emerge in another.
4
5
– Obtain more data – Create new test cases – Trace code manually (inspect code) – Use interactive debugging tools
6
7
8