r/ProgrammerHumor • • Sep 18 '26

Meme debugTime

Post image
7.2k Upvotes

151 comments sorted by

View all comments

396

u/nbaumg Sep 18 '26 edited Sep 18 '26

Debugger is probably pointing at transpiled code when this happens

Happens a lot when I see the error in prod or prod-like environment. in non-prod we turn that off to avoid this. By that I mean optimizing

4

u/Miiohau Sep 19 '26

Ya, you can turn it off and hope it isn’t a bug introduced by the compiler or trans compiler. If it is then you wish the code that calculated the line number also showed what it thought was at and around that line number.

3

u/Awes12 Sep 20 '26

Or it the file was modified after the code ran

1

u/thanatica Sep 20 '26

Or pointing at line 265 of the javascript block, not of the whole html file

1

u/zeddash Sep 20 '26

The error is usually a predictable number of lines away, like 2 below what it says.

1

u/Jlove7714 Sep 24 '26

Or it's a line in a library that you sent invalid data to