willya@lemmyf.uk to Programmer Humor@lemmy.mlEnglish · 1 year agoI swear I didn’t change anythingthumbsnap.comimagemessage-square41fedilinkarrow-up1531arrow-down110
arrow-up1521arrow-down1imageI swear I didn’t change anythingthumbsnap.comwillya@lemmyf.uk to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square41fedilink
minus-squaree0qdk@kbin.sociallinkfedilinkarrow-up73·1 year agoRule 9 from Agans’s Debugging: If you didn’t fix it, it ain’t fixed Intermittent problems are the worst…
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up14·1 year agoThe problem is, how do you fix it if you can’t make it break? The worst thing is when somebody comes to you saying “yeah, I had this problem yesterday, but it’s working now”.
minus-squareNeshura@bookwormstory.sociallinkfedilinkEnglisharrow-up5·1 year agothis is a case for excessive logging man likely won’t help you actually fix the issue because miraculously you didn’t log the three variables you actually need but it’ll make you feel better in the meantime
minus-squareryannathans@aussie.zonelinkfedilinkarrow-up1·1 year agoYou should have a unit test you can run until failure
Rule 9 from Agans’s Debugging: If you didn’t fix it, it ain’t fixed
Intermittent problems are the worst…
The problem is, how do you fix it if you can’t make it break?
The worst thing is when somebody comes to you saying “yeah, I had this problem yesterday, but it’s working now”.
this is a case for excessive logging man
likely won’t help you actually fix the issue because miraculously you didn’t log the three variables you actually need but it’ll make you feel better in the meantime
You should have a unit test you can run until failure