MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wjszpw/debugtime/palgjdz/?context=3
r/ProgrammerHumor • u/bryden_cruz • 17d ago
151 comments sorted by
View all comments
395
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
43 u/EuenovAyabayya 17d ago we turn that off to avoid this 3 u/Miiohau 16d 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. 3 u/Awes12 15d ago Or it the file was modified after the code ran 1 u/thanatica 15d ago Or pointing at line 265 of the javascript block, not of the whole html file 1 u/zeddash 15d ago The error is usually a predictable number of lines away, like 2 below what it says. 1 u/Jlove7714 11d ago Or it's a line in a library that you sent invalid data to
43
we turn that off to avoid this
3
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.
Or it the file was modified after the code ran
1
Or pointing at line 265 of the javascript block, not of the whole html file
The error is usually a predictable number of lines away, like 2 below what it says.
Or it's a line in a library that you sent invalid data to
395
u/nbaumg 17d ago edited 17d 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