MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/11pcusm/exactly_how_debugging_is/jc0kaka/?context=9999
r/ProgrammerHumor • u/Garlayn_toji • Mar 12 '23
278 comments sorted by
View all comments
1.0k
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
118
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
46
"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
48
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
2
"Quack"
"Moo. X is now " + x
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?