Albin Jose@suppo.fi to Programmer Humor@lemmy.ml · 1 year agoLet the debugger do its job.suppo.fiimagemessage-square73fedilinkarrow-up1428arrow-down147
arrow-up1381arrow-down1imageLet the debugger do its job.suppo.fiAlbin Jose@suppo.fi to Programmer Humor@lemmy.ml · 1 year agomessage-square73fedilink
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
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