Live data from Hacker News

Ask HN: What's the one missing detail that usually makes a bugs hard to debug?

news.ycombinator.com

1–3 of 3 posts

Re: Ask HN: What's the one missing detail that usually makes a bugs hard to debug?

#3
post #2

My biggest roadblocks come from my own certainty that I wrote correct code. That leads me to look in the wrong places for the bug. I have repeatedly looked right at bugs and not seen them because I felt sure that code works as expected.

This resonates. A lot of debugging time isn’t spent finding where the bug is, but unlearning the assumption that “this part is obviously correct.”