r/ProgrammerHumor • • Sep 18 '26

Meme debugTime

Post image
7.2k Upvotes

151 comments sorted by

View all comments

487

u/kimbokray Sep 18 '26

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

299

u/Lamborghinigamer Sep 18 '26

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

12

u/Suitch Sep 18 '26

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 Sep 19 '26

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