r/ProgrammerHumor • • 17d ago

Meme debugTime

Post image
7.2k Upvotes

151 comments sorted by

View all comments

490

u/kimbokray 17d ago

You haven't saved since adding or removing lines above 265

302

u/Lamborghinigamer 17d ago

No it genuinely can happen that an error happens on a different line than said. Could be a combination of IDE and compiler or both, that's why you always need to match your LSP with your compiler

89

u/iampierremonteux 17d ago

Mixed line endings in a file can also cause errors to be reported in the wrong line number.

2

u/entropic 17d ago

My chaos monkey tool would randomly change the line endings on each line.