214
Debugging (lemmy.ml)
submitted 3 months ago by yogthos@lemmy.ml to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Dirk@lemmy.ml 19 points 3 months 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 5 points 3 months 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
214 points (100.0% liked)

Programmer Humor

33509 readers
276 users here now

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

Rules:

founded 5 years ago
MODERATORS