251
Debugging (lemmy.ml)
submitted 8 months ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 19 points 8 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.

[-] [email protected] 4 points 8 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
251 points (98.5% liked)

Programmer Humor

37448 readers
6 users here now

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

Rules:

founded 6 years ago
MODERATORS