Step 10, add the bug as a test to the CI to prevent regressions? Make sure the CI fails before the fix and works after the fix.
Debugging: Indispensable rules for finding even the most elusive problems (2004)
21–30 of 238 posts
Re: Debugging: Indispensable rules for finding even the most elusive problems (2004)
#22Re: Debugging: Indispensable rules for finding even the most elusive problems (2004)
#23The list is fun for us to look at because it is so familiar. The enticement to read the book is the stories it contains. Plus the hope that it will make our juniors more capable of handling complex situations that require meticulous care...
The discussion on the article looks nice but the submitted title breaks the HN rule about numbering (IMO). It's a catchy take on the post anyway. I doubt I would have looked at a more mundane title.
Re: Debugging: Indispensable rules for finding even the most elusive problems (2004)
#24Step 10, add the bug as a test to the CI to prevent regressions? Make sure the CI fails before the fix and works after the fix.
Re: Debugging: Indispensable rules for finding even the most elusive problems (2004)
#25The article is a 2024 "review" (really more of a very brief summary) of a 2002 book about debugging. The list is fun for us to look at because it is so familiar. The enticement to read the book is the stories it contains. Plus the hope that it will make our juniors more capable of handling complex situations that require meticulous care... The discussion on the article looks nice but the submitted title breaks the HN…
2004.
Re: Debugging: Indispensable rules for finding even the most elusive problems (2004)
#26Re: Debugging: Indispensable rules for finding even the most elusive problems (2004)
#27Step 10, add the bug as a test to the CI to prevent regressions? Make sure the CI fails before the fix and works after the fix.
What do you do with the years old bug fixes? How fast can one run the CI after a long while of accumulating tests? Do they still make sense to be kept in the long run?
Saying "oh its been good for awhile now" has nothing to do with breaking it in the future.
Re: Debugging: Indispensable rules for finding even the most elusive problems (2004)
#28Rule #10 - it’s probably DNS
Re: Debugging: Indispensable rules for finding even the most elusive problems (2004)
#29Step 10, add the bug as a test to the CI to prevent regressions? Make sure the CI fails before the fix and works after the fix.
What do you do with the years old bug fixes? How fast can one run the CI after a long while of accumulating tests? Do they still make sense to be kept in the long run?
Re: Debugging: Indispensable rules for finding even the most elusive problems (2004)
#30Personally, I’d start with divide and conquer. If you’re working on a relevant code base chances are that you can’t learn all the API spec and documentation because it’s just too much.