Ways to improve debugging skills
Every developer needs to find and fix the bug. But how can you squash a defect that you don't know how to find it.
From my personal experience in Build/RUN projects , and in debugging and diagnosis the problem , here are the some ways you can improve your debugging skills .
Approach
You need to go back or in history where it worked correctly. Approach should be go to previous version of the code where it worked and add code segments until it doesn't work anymore . Debugging approach should be more of scientific method . Create a hypothesis , create a experiment to disapprove the hypothesis , repeat it until you find it. From my personal experience in debugging a defect this has helped me a lot to find the root cause and provide solutions to the customer in faster way.
Learn & Adapt
Learn from the bug. One should not repeat the same mistakes. Take the time to learn lessons. Whenever you go through a crisis kind of issues or bugs , some meta skills can help you to improve your debugging skills like "How could I have prevented that? What are the programming techniques that would have helped me to prevent it at first time ?
Follow this and you will be master in doing diagnosis of a problem
Top comments (0)