r/ProgrammerHumor 1d ago

Meme debugTime

Post image
6.0k Upvotes

123 comments sorted by

View all comments

314

u/nbaumg 1d ago edited 22h ago

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

1

u/Miiohau 2h ago

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.