News for hackers. Stuff that matters.
Re:A Systematic Approach to Debugging by BurningFrog on Monday September 11, 2023 @10:59PM (#37476560)
> Usually if you can do that, the bug's as good as solved

Which is why you should try hard to do it :) A lot of people... do other things instead.

Maybe the worst is trying to think up a solution.

My book about debugging would be called "Stop Thinking and Start Looking!", if I wrote it.

Re:A Systematic Approach to Debugging by jahewson on Monday September 11, 2023 @11:24PM (#37476681)
This is something that never gets old to me - seeing other experienced devs playing guessing games instead of instrumenting the problem thing and walking through it step by step.

That’s not to say that you can’t guess the first, or second place to look, but that’s where it should end.

The second thing I see often from smart devs is that they find some bug, assume it’s the one they came looking for and declare victory.

The third is the worse by far, which is to blame the cloud provider/vendor for all issues, especially you not reading their documentation.

Re:A Systematic Approach to Debugging by AlbertCory on Tuesday September 12, 2023 @12:14AM (#37476883)
Somewhere in that hierarchy is:

Preemptively give up and say, "We can't reproduce that."

Re:A Systematic Approach to Debugging by francois14 on Tuesday September 12, 2023 @03:18AM (#37477767)
We work with the same contractors then.
Re:A Systematic Approach to Debugging by kqr on Tuesday September 12, 2023 @04:22AM (#37478170)
More generally, if people would go and see for themselves more often a lot would be better in the world. Mere observation is surprisingly powerful if you take the time to do it with an open mind.
Re:A Systematic Approach to Debugging by funcDropShadow on Tuesday September 12, 2023 @06:39AM (#37479069)
David Agans' book "Debugging" has a chapter called "Quit Thinking and Look". It is quite old by IT standards, but I cannot recommend it enough.
Re:A Systematic Approach to Debugging by BurningFrog on Tuesday September 12, 2023 @09:22AM (#37480802)
Wow!

I've never seen or heard anyone else express that idea before!

I guess I don't have to write that book then :)

Re:A Systematic Approach to Debugging by AlbertCory on Tuesday September 12, 2023 @03:27PM (#37486615)
I know this topic is pretty exhausted, but hey...

In the terrible movie The Internship they have this "contest" for the interns, where they're all told of a server that has suddenly stopped serving up digital photos.

So they all start writing on a glass wall. No intern says, "hey, let's go and look at the server logs!" Not cinematic, I guess.