Answer:
1. REPRODUCE THE ERROR
2. ERROR CODES
3. TROUBLESHOOT
4. IDENTIFY THE SOURCE OF THE PROBLEM
Step-by-step explanation:
Debugging a program simply means a sequence of steps which one takes to correct an imperfect program, that is a program that does not run as intended.
A good way to start debugging is to run the code, by running the code, one will be able to determine if the program has a bug. If it has then it produces an error. This error is a good starting point as the error code gives a headway into where the bug may lie.
The error code gives a hint into the type of error causing a program to malfunction which could be a syntax error, logic, Runtime and so on. In some case probable lines where there error lies are spotted and included in the error code produced.
After evaluating the error code, then we troubleshoot the probable causes of the error. By troubleshooting all the possible causes, the source of the error will eventually be identified.