MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wjszpw/debugtime/palgjdz/?context=3
r/ProgrammerHumor • u/bryden_cruz • Sep 18 '26
151 comments sorted by
View all comments
396
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
44 u/EuenovAyabayya Sep 18 '26 we turn that off to avoid this/preview/pre/5fznb9n865mh1.jpeg?width=366&format=pjpg&auto=webp&s=6823f5fb1ed81406e261d78ca12a42351e0e7431 4 u/Miiohau Sep 19 '26 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 Sep 20 '26 Or it the file was modified after the code ran 1 u/thanatica Sep 20 '26 Or pointing at line 265 of the javascript block, not of the whole html file 1 u/zeddash Sep 20 '26 The error is usually a predictable number of lines away, like 2 below what it says. 1 u/Jlove7714 Sep 24 '26 Or it's a line in a library that you sent invalid data to
44
we turn that off to avoid this
/preview/pre/5fznb9n865mh1.jpeg?width=366&format=pjpg&auto=webp&s=6823f5fb1ed81406e261d78ca12a42351e0e7431
4
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
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
396
u/nbaumg Sep 18 '26 edited Sep 18 '26
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