Professional Documents
Culture Documents
• warm-up activity
• find a partner
Friday,
February
24,
2011
Slides
by
Susan
Evans
2
What process did you follow
when looking for bugs?
Friday,
February
24,
2011
Slides
by
Susan
Evans
3
?
Friday,
February
24,
2011
Slides
by
Susan
Evans
4
Debugging
Friday,
February
24,
2011
Slides
by
Susan
Evans
5
Who is to blame for bugs in
software?
• You! .. usually
Friday,
February
24,
2011
Slides
by
Susan
Evans
6
Consider 0’s (zeros) and O’s (oh’s)
• or even l’s (el’s) and 1’s (ones) for that
matter
Friday,
February
24,
2011
Slides
by
Susan
Evans
7
Consider 0’s (zeros) and O’s
(oh’s)
• could be programmed to converted oh’s to
zero’s
Friday,
February
24,
2011
Slides
by
Susan
Evans
8
Debugging in Everyday Life
Friday,
February
24,
2011
Slides
by
Susan
Evans
9
Debugging Process
• 1. run the program; reproduce the same
exact error
• 5. Go back to step 1
• why?
• fix it on paper
• 5. Go back to step 1
• why?