|
|
|
|
|
|
|
|
|
|
|
|
|
v |
Try
to avoid bugs by thinking through the design first.
|
|
v |
For
big programs, test parts of it as you go.
|
|
|
v |
Some
basic techniques:
|
|
|
|
o |
Stepping
by hand through the program
|
|
|
|
o |
Adding
“print” statements to get debugging output
|
|
|
|
o |
Using
the Visual Basic debugger
|
|
|
v |
Often
the error will be blindingly obvious.
If not, and
|
|
|
you’re
having to spend some time finding it, here are
|
|
|
some
additional suggestions:
|
|