Debugging is the process that helps to solve the recognized defects. The basic steps in debugging are: Recognize that a bug exists. Isolate the source of the bug. Identify the cause of the bug. Determine a fix for the bug. Apply the fix and test it.