Untitled Document Fixing Bugs Finding a bug, though sometimes difficult, is only the first step. Next you have to get rid of it.
Some bugs are really hard to get rid of.
In fact, sometimes a little bug can drive you so crazy that, in the process of eradicating it, you destroy your entire program. Saving your program before you start debugging is the best way to ensure that a bug doesn't get the best of you. Fix one bug at a time. If you know about several bugs, fix each one and test your fix before you move on to the next bug. Fixing a lot of bugs all at once without checking your work is just an invitation for even more bugs.