Understand a bug is essential in #debugging process in order to fix the defects implied in the problem report. The following is the recommended steps in helping to shape your understanding in the bug:
- Locate the lines of code that you think is causing the trouble
- Why is the code wrong?
- Determine a proposed classification (??)
- Formulate a set of proposed changes
- How will such changes affect the runtime states of the program?
- Why will the changes correct the problem?
There are important practices that could deepen your comprehension on the bug:
- Inspect and verify the test assets
- Be open-minded and question all parts of the program
- Try to prove the defects is not there
- Try to explain why the defects is there and why your proposal will fix it.