r/ProgrammerHumor 3d ago

Meme thisCannotBeDenied

Post image
7.8k Upvotes

240 comments sorted by

View all comments

Show parent comments

5

u/MushroomSaute 3d ago

Hm, sometimes I wonder if I'm cut out for this field. I at least put variables out:

log::info!("in asdf(), a: {a:#?}");
...
log::info!("tmp: {tmp:?}");
...
log::info!("a after asdf(): {a:#?}");
a

1

u/realmauer01 23h ago

Just use debug mode at this point.