Aw come on, debugging can be fun. I love the investigative vibe of it. You get to be your favorite detective. You start asking around. You pin the the culprit. You get closer and closer to damning evidence. And then Bam! Fixed. Another mystery solved. Mine’s Columbo.
Agreed, for any non-trivial bug I just start dumping text into a word file to track what I’m doing. Like: error messages, values of variables at key places, libraries used, URLs of documentation and background reading and stackoverflow pages looked at, test fixes and their effects, etc. Then if someone asks me wtf I’ve been doing all day I can easily show them. Also, if I have the same problem a couple months later I can remind myself.
Aw come on, debugging can be fun. I love the investigative vibe of it. You get to be your favorite detective. You start asking around. You pin the the culprit. You get closer and closer to damning evidence. And then Bam! Fixed. Another mystery solved. Mine’s Columbo.
I love asking,
And a few moments later:
“Oh. It was me.”
Just finished with a refractoring project. I said this a LOT.
Agreed, for any non-trivial bug I just start dumping text into a word file to track what I’m doing. Like: error messages, values of variables at key places, libraries used, URLs of documentation and background reading and stackoverflow pages looked at, test fixes and their effects, etc. Then if someone asks me wtf I’ve been doing all day I can easily show them. Also, if I have the same problem a couple months later I can remind myself.
It’s fun when you debug your own code.