next up previous
Next: The plan Up: Debugging Tips Previous: Recognizing the existence of

Identifying the source of the bug

Once you have determined that a bug is present somewhere in your code, you must locate the offending lines of code. Others have noted that this is the most difficult part of debugging. Depending on the class of bug that you are up against, this can be made easier by the proper selection of debugging methods and equipment.

One of the problems of debugging is that the symptoms are not always directly connected to the source of the problems. Further, the symptoms may exhibit themselves in varying places in your program.



Spencer Eugene Olson 2005-01-19