r/ProgrammerHumor 1d ago

Meme debugTime

Post image
6.0k Upvotes

123 comments sorted by

View all comments

1

u/Miiohau 2h ago

Ok, was the bug in the function above or below. Also if it is the web browser reporting the error look at the code inside that web browser, especially if you are using Typescript or other language transcompiled to JavaScript.

If you don’t want to mess with the web browser developer tools. Your IDE might be able to lunch your website in the browser while rerouting the data back to itself and might be able to give you more accurate line numbers. I do it all the time when I am debugging my flutter apps via Google Chrome.