Fixing an insidious bug in the new Unix directed graph shell dgsh allowed me to demonstrate in practice 10 of the 66 principles, techniques, and tools I describe in the book Effective Debugging. Almost all steps all documented in the corresponding issue and commits. Here's a detailed retrospective.
In the following description I list the titles of the corresponding book sections in bold.
true || falseinto
true) allowed me to obtain very compact traces of the correctly running and failing execution. (Minimize the Differences between a Working Example and the Failing Code)
git status. (Houseclean Before and After Debugging)
Last modified: Tuesday, August 15, 2017 12:12 am
Unless otherwise expressly stated, all original material on this page created by Diomidis Spinellis is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.