cm0002@literature.cafe to Programmer Humor@programming.dev · 10 hours agoSometimes my code is like this....lemmy.mlimagemessage-square19fedilinkarrow-up1203arrow-down12cross-posted to: programmerhumor@lemmy.ml
arrow-up1201arrow-down1imageSometimes my code is like this....lemmy.mlcm0002@literature.cafe to Programmer Humor@programming.dev · 10 hours agomessage-square19fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarenogooduser@lemmy.worldlinkfedilinkEnglisharrow-up2·2 hours agoWe had that in our DOS C code base. We didn’t have a debugger so we had a function that output debug messages to console if the debug flag was set. There were more than a few instances where a crash would stop happening if we added debug messages. We put it down to the linker rearranging modules to fit in memory as our exe was more than a megabyte in size.
We had that in our DOS C code base. We didn’t have a debugger so we had a function that output debug messages to console if the debug flag was set.
There were more than a few instances where a crash would stop happening if we added debug messages.
We put it down to the linker rearranging modules to fit in memory as our exe was more than a megabyte in size.