7 Steps to Efficient and Effective Debugging:
Always try to reproduce the bug before making any changes to the code.
Recognize Stack Traces.
Create a test case that replicates the problem.
Be Aware of Error Codes.
Go to Google! Bing, duck duck GO!
Use Pair Programming to Get Out of It.
Rejoice in Your Fix.