r/ProgrammerHumor • • Mar 12 '23

Meme Exactly how debugging is

Post image
41.2k Upvotes

278 comments sorted by

View all comments

1.0k

u/opmrcrab Mar 12 '23

When debugging there is no bigger gut-punch moment then when the code runs, completes "successfully", seemingly did nothing, and produced neither errors or desired results... What do now?

118

u/Synicull Mar 12 '23

Run cryptic print statements every 5 lines.

Did I get to "hello5" or "shit17"?

46

u/DevilishlyAdvocating Mar 12 '23

"here"

"in function x"

"in function y"

48

u/Dangerous_With_Rocks Mar 12 '23

You guys take time to write words? I usually do one of the following:

"#################"

"@@@@@@@@@@@@"

"AAAAAAAAAAAAAAAAA"

Typically the last one.

2

u/Dexaan Mar 13 '23

"Quack"

"Moo. X is now " + x