What is scientific debugging
It is the practice of bringing "The scientific method" into debugging software problems. It is mainly driven by hypothesis. If we follow scientific debugging, we can easily offload state from our brain, easy to pause and resume debugging. Ultimately to save our nights and weekends.
One more template!
There are limited resources on the web talking about scientific debugging. More links in the resources section below. When we practice the scientific debugging we need to document the hypothesis and its results on the paper. As we all know, without a template, developers never document. Unfortunately, there is no good template available. Hence need to create below one.
It is a gist so anyone can issue a PR to update the same.
Resources
- Books
- Courses
- Presentations
- https://github.com/stuarthalloway/presentations/blob/master/DevNexus2019/DebuggingScientificMethod.pdf
- https://github.com/stuarthalloway/presentations/wiki/Debugging-with-the-Scientific-Method
- Links
- https://www.thoughtworks.com/insights/blog/how-implement-hypothesis-driven-development
- https://medium.com/machine-words/scientific-debugging-part-1-8890b73b6c4c
- http://wiki.c2.com/?DebuggingAndTheScientificMethod
- https://www.embedded.com/scientific-debugging-finding-out-why-your-code-is-buggy-part-1/
- http://ieng6.ucsd.edu/~cs15x/labs/lab7_mvfdxc/index.html
- https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00sc-introduction-to-computer-science-and-programming-spring-2011/unit-1/lecture-7-debugging/
- http://web.mit.edu/6.031/www/fa17/classes/13-debugging/
- https://github.com/LearnTeachCode/debugging-report-template
- https://robertheaton.com/2015/03/29/scientific-debugging/
- https://www.embedded.com/scientific-debugging-finding-out-why-your-code-is-buggy-part-1/
Happy debugging...
No comments:
Post a Comment