Discussion

Ask HN: Do You Use a Debugger?

It's been years since I've used a debugger (Turbo Debug), never bothered to learn how to use a debugger for non-assembly code, and tend to just sprinkle `print` everywhere until I can narrow down the problem.

I'm a Vim person, and am envious of IDE users with integrated breakpoints, stepping, and variable inspection with just a mouse, but only today found out about Vim's `termdebug` :headdesk:

So I'm wondering... what does the HN crowd use to investigate code problems:

    - sprinkling print
    - IDE with integrated debugger
    - termdebug (i.e editor with gdb in another pane)
    - debugger by hand on the command line
    - other (please comment)
47 points alfiedotwtf 5 years ago 102 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton