Albin Jose@suppo.fi to Programmer Humor@lemmy.ml · 11 months agoLet the debugger do its job.suppo.fiimagemessage-square74fedilinkarrow-up1428arrow-down147
arrow-up1381arrow-down1imageLet the debugger do its job.suppo.fiAlbin Jose@suppo.fi to Programmer Humor@lemmy.ml · 11 months agomessage-square74fedilink
minus-squareHairHeel@programming.devlinkfedilinkEnglisharrow-up33arrow-down1·11 months agoValue watching is just printf; change my mind
minus-squareleo85811nardo@lemmy.worldlinkfedilinkarrow-up7·11 months 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