The fundamental philosophy of debugging
- Get thoroughly familiar with what a working system does.
- Realize that you don’t already know the answer. Don’t try to guess the causes.
- Look at data until you understand what is causing the problem.
- Compare the data that you have with what you know the data from a working system should look like.
- Fix the cause of this anomaly, not the symptoms.
Full post here, 8 mins read