Debugging – Overview

A computer bug is a mistake in the code that causes a program to produce an incorrect or unexpected result. Bugs can manifest themselves at different phases of the program execution (e.g., compile time, runtime). Debugging code is an essential part of programming. Debugging is an art, not a science. There exist useful debugging techniques and approaches. Most importantly, as you code and debug more, your experience helps figuring out what causes the error.  The following posts describe the bug history, common errors and error messages, and the guidelines and tools for debugging programs.