Albin7326@suppo.fi to Programmer Humor@lemmy.ml · 1 year agoLet the debugger do its job.suppo.fiimagemessage-square73fedilinkarrow-up1429arrow-down147
arrow-up1382arrow-down1imageLet the debugger do its job.suppo.fiAlbin7326@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