Debugging
There are situations in which one test or a group of tests fail. Also, there are times when you find a bug. In both of these situations, there is a bug, and you need to find the root cause and fix it. This involves many sessions of debugging and going through the source code to search for the cause of the bug and planning the required fixes. But what does it mean to debug a piece of software?
Note:
It is a popularly held belief that the term "debug" originates from the days when computers were so large that real bugs (such as moths) could get caught in the system's machinery and lead to malfunctions. Therefore, some people, officially called debuggers, were sent into the hardware room to remove the bugs from the equipment. See this link for more information: https://en.wikipedia.org/wiki/Debugging.
Debugging is an investigative task to find the root cause of an observed bug by looking inside and/or outside of a program. When...