by Dinesh Thakur

A bug is a problem in software or hardware; to debug is to diagnose and correct said problem. Software programs inevitably develop bugs due to mistakes in planning or simply from accidentally typing the wrong command. Before a program can run properly, all bugs have to be found and corrected. A debugger is an application developed for the specific purpose of finding these problems; it lets the programmer run the program one step at a time so that she can see exactly where the mistake occurs.