Albin Jose@suppo.fi to Programmer Humor@lemmy.ml · 1 year agoLet the debugger do its job.suppo.fiimagemessage-square73fedilinkarrow-up1432arrow-down148
arrow-up1384arrow-down1imageLet the debugger do its job.suppo.fiAlbin Jose@suppo.fi to Programmer Humor@lemmy.ml · 1 year agomessage-square73fedilink
minus-squareHairHeel@programming.devlinkfedilinkEnglisharrow-up33arrow-down1·1 year agoValue watching is just printf; change my mind
minus-squareleo85811nardo@lemmy.worldlinkfedilinkarrow-up7·1 year agoAckchyually, value watching in debugger almost guarantee to get the value by address, but printf in some languages can pass by value, unnecessarily make copy of the watched variable, and the value printed is the copied data instead of the original
Value watching is just printf; change my mind
Ackchyually, value watching in debugger almost guarantee to get the value by address, but printf in some languages can pass by value, unnecessarily make copy of the watched variable, and the value printed is the copied data instead of the original