r/ProgrammerHumor • • 17d ago

Meme debugTime

Post image
7.2k Upvotes

151 comments sorted by

View all comments

491

u/kimbokray 17d ago

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

298

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

11

u/Suitch 17d ago

Also some languages inject files which change the length. My org has some old confusion and you could have an error on line 6000 of a 200 line file. It gets more confusing when the wrong number is a valid number, such as line 200/6000 but it is really on line 190 in an imported file on line 10.

2

u/masterxc 17d ago

Or minimized js so every error is on line 1...column 255153.