this post was submitted on 19 Jun 2023
55 points (96.6% liked)

Programming

17503 readers
56 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 15 points 1 year ago (2 children)

Are there seriously professionals out there who think debuggers are useless? That is utterly baffling to me. Logging and tests are useful, but if something unexpected happens, the debugger is absolutely the first tool I'm reaching for unless I'm dealing with remote code (e.g. on a server) or some other scenario where using a debugger is a pain.

[–] [email protected] 3 points 1 year ago

No kidding! I don't think I've been without some kind of debugger since I was still just dicking around as a hobbyist. I can't even really guess, because it seems like forever. I know I didn't have access to a debugger on the VIC-20, but just when I first used one I can't say.

[–] [email protected] 2 points 1 year ago

@firelizzard It's unreal to me. I can't fathom arguing against debuggers.

Rubymine's debugger alone makes it worth it for ruby development, let alone all the other features.

Crazy productivity booster.

[–] [email protected] 13 points 1 year ago (1 children)

I’m firmly in the print statement / console.log camp but this article convinced me to try using a debugger.

[–] [email protected] 6 points 1 year ago

You are not alone

[–] [email protected] 3 points 1 year ago

I tend to use print way to much especially considering the programming language I am using has a debugger built in and I dont use it nearly enough. ok I do use break so I can stop execution paired with printing but I really need to start actually using it. however yes debuggers are awesome if anyone hasn't tried one out give it a try, even if you are using a smaller lesser known language a lot of languages are more compatible than you think, I recently used windbg with the D programming language if you haven't heard of that language, exactly, so give your language of choice a few google searches and see if there are any that work.