3 ms·
There's some interesting discussion here at the previous (now dead) post of this article: https://news.ycombinator.com/item?id=6308316 https://news.ycombinator
by greenyoda 13y ago
There's some interesting discussion here at the previous (now dead) post of this article:
https://news.ycombinator.com/item?id=6308316 https://news.ycombinator.com/item?id=6308316
In particular, this comment about using the scientific method to diagnose bugs is valuable:
https://news.ycombinator.com/item?id=6308826 https://news.ycombinator.com/item?id=6308826
It's much more productive to formulate hypotheses and then gather evidence to prove/disprove them than to jump in with the debugger and start trying things at random. It's also worthwhile to spend some time trying to isolate the simplest possible reproduction of the bug.
There are actually books that have been written about how to debug in a systematic way (sorry, I don't remember the titles offhand).
- jared314 13y ago> There's some interesting discussion here at the previous (now dead) post of this article Looks like someone revived it.