News for hackers. Stuff that matters.
Re:Ask HN: Do You Use a Debugger? by tylercrompton on Saturday August 21, 2021 @12:23AM (#28254161)
Sometimes I use a debugger. Sometimes I use print statements. It depends on the task. If it's a loop that runs multiple times, I lean toward using a debugger. If stepping through the code would be too much hassle, then I lean toward using print statements. If I need to explore the environment (often due to poor documentation), then I lean toward using a debugger. In short, I use whatever seems to be the most effective approach.

There are no comments on this comment yet.