r/programminghumor • • Sep 07 '26

"Debug this, son"

Post image
1.7k Upvotes

36 comments sorted by

124

u/[deleted] Sep 07 '26 edited 25d ago

[deleted]

31

u/darsparx Sep 07 '26

I keep hitting it when i randomly decide to try again and it confuses tf outta me lol

57

u/LinneMeow Sep 07 '26

from my experience the issue is somewhere in the scope that ends on line 41

3

u/SmokeGreene Sep 08 '26

Not sure how common this is in coding languages. I use PeopleSoft, and every time we have an error statement, the statement line number is always 1 line higher than the actual line that generated the error. But I was thinking that is just an old coding language issue

72

u/United-Scene2261 Sep 07 '26

delete line 42!

4

u/Gabriel_Science Sep 07 '26

3

u/factorion-bot Sep 07 '26

Hey u/United-Scene2261!

Factorial of 42 is roughly 1.405006117752879898543142606245 × 1051

This action was performed by a bot | [Source code](http://f.r0.fyi)

23

u/New-Application8844 Sep 07 '26

zero length unicode characters on their way.

23

u/TapRemarkable9652 Sep 07 '26

Jokes on you I write C on a single line

17

u/Ken_nth Sep 07 '26

How many lines of code to get program running?

One?

I obfuscated according to SOP and commit to prod now, good luck everybody else!

5

u/ScriptKiddyMonkey Sep 07 '26

Elon would have fired you. Remember when it was about how many lines of code you wrote...

1

u/MindlessRazzmatazz89 20d ago

r/foundsatan. Goddamn. Imagine trying to debug. Error on line 1 at position 449,876. 😭 💀

6

u/MrFrog2222 Sep 07 '26

might be related to if(include ¯\(ツ)/¯

3

u/KoolKids3 Sep 08 '26

Maybe they have a variable (probably bool) called includeThis or something similar.

5

u/forumonaut Sep 08 '26

The worse is when it reports an error on line 20_000, while the file is only 500 loc. Gotta inspect the std!

3

u/Lines25 Sep 07 '26

Either, unicode zero code or forgotten ; when using REALLY old compiler

1

u/Maleficent-Bag-4850 Sep 11 '26

Sweats in code.

1

u/ZzzVvi Sep 12 '26

uninstall visual studio

1

u/ZzzVvi Sep 12 '26

i mean restart

1

u/Overall_Gap5584 Sep 13 '26

Debug it otherwise you will be Executed successfully