Albin Jose to Programmer [email protected] • 2 years agoLet the debugger do its job.suppo.fiimagemessage-square73fedilinkarrow-up1425
arrow-up1425imageLet the debugger do its job.suppo.fiAlbin Jose to Programmer [email protected] • 2 years agomessage-square73fedilink
minus-squarenakallinkfedilink6•2 years agoBecause if you invested a lot of time on carefully choosing the places where printf should be to get all the info you need, you just need to unset NDEBUG and voilà everything that you need is there again.
minus-squareripcordlinkfedilink1•2 years agoOr, for cases where you’re doing that, use actual debug or trace logging if that is an option.
Because if you invested a lot of time on carefully choosing the places where
printf
should be to get all the info you need, you just need to unsetNDEBUG
and voilà everything that you need is there again.Or, for cases where you’re doing that, use actual debug or trace logging if that is an option.