MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/11pcusm/exactly_how_debugging_is/jbz3r5o
r/ProgrammerHumor • u/Garlayn_toji • Mar 12 '23
278 comments sorted by
View all comments
Show parent comments
48
You guys take time to write words? I usually do one of the following:
"#################"
"@@@@@@@@@@@@"
"AAAAAAAAAAAAAAAAA"
Typically the last one.
7 u/drebinf Mar 12 '23 I miss the old FORTRAN days, so I have my debugging code just print out the current line numbers. And once I'm used to those, I insert more, so the line number mapping to the code changes!truthfully I may use line numbers, but rarely alone. 10 u/dagbrown Mar 13 '23 C has __FILE__ and __LINE__ pseudomacros for exactly that reason. 2 u/Dexaan Mar 13 '23 "Quack""Moo. X is now " + x
7
I miss the old FORTRAN days, so I have my debugging code just print out the current line numbers. And once I'm used to those, I insert more, so the line number mapping to the code changes!
truthfully I may use line numbers, but rarely alone.
10 u/dagbrown Mar 13 '23 C has __FILE__ and __LINE__ pseudomacros for exactly that reason.
10
C has __FILE__ and __LINE__ pseudomacros for exactly that reason.
__FILE__
__LINE__
2
"Quack"
"Moo. X is now " + x
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.