Chris to Programmer [email protected]English • 8 days agoUnexplained Phenomenas3.us-east-005.backblazeb2.comimagemessage-square23fedilinkarrow-up1774arrow-down13file-text
arrow-up1771arrow-down1imageUnexplained Phenomenas3.us-east-005.backblazeb2.comChris to Programmer [email protected]English • 8 days agomessage-square23fedilinkfile-text
minus-square@nogooduserlinkEnglish12•8 days agoI used to work on an old DOS product and we didn’t have a debugger so we used to have a DEBUG command line argument with if (DEBUG) printf(“debugging”); to try to see what was happening and the number of times that code alone fixed the problem was scary.
minus-square@psycho_driverlink5•8 days agoI mean . . . I still do this on my own stuff. If I’m interested in optimizing for speed I’ll do it as #ifdef instead of if ()
I used to work on an old DOS product and we didn’t have a debugger so we used to have a DEBUG command line argument with
if (DEBUG) printf(“debugging”);
to try to see what was happening and the number of times that code alone fixed the problem was scary.
I mean . . . I still do this on my own stuff. If I’m interested in optimizing for speed I’ll do it as #ifdef instead of if ()