249
Debugging (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] Dirk@lemmy.ml 19 points 1 month ago

Honestly, before I'm done setting up a debugger and creating breakpoints, etc. I have added 10 consle.log() at assumed failure points and run the code again two times.

[-] leisesprecher@feddit.org 4 points 1 month ago

For local development, it should be super quick. However, I'm currently building a small project where a device (or rather the library using it) can't really be used with a debugger. So 500 print()s it is.

this post was submitted on 20 Nov 2024
249 points (98.4% liked)

Programmer Humor

32707 readers
626 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS