219
Debugging (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] Dirk@lemmy.ml 15 points 2 days 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 2 days 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
219 points (98.7% liked)

Programmer Humor

32549 readers
398 users here now

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

Rules:

founded 5 years ago
MODERATORS