Hacker ApprovedDepartments

GDB (GNU Debugger)

The most recommended of 9 debuggers

Free command-line debugger that people rely on for crash analysis, core dumps, and assembly work, often driven from a terminal or editor. Critics say it handles C++ types poorly and has weak tracing support.

Free command-line debugger that people rely on for crash analysis, core dumps, and assembly work, often driven from a terminal or editor. Critics say it handles C++ types poorly and has weak tracing support.

45 people gave an opinion

recommend it
29
criticize it
16
approval share
64%
Each figure is one person. RecommendsCriticizes

Recommended in 10 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: not recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: not recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 29 people recommend itNeeds 10 or more, met.
  • 1.8 recommenders for every criticNeeds 2 to 1 or better, not met.
  • Recommended in 10 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Works from terminal and editors

    “gdb and others have perfectly fine text mode interfaces”

    Comment from 28 Mar 2026 in “Improved Git Diffs with Delta, Fzf and a Little Shell Scripting”

    “I have inline debugging with gdb in neovim.”

    Comment from 16 Dec 2025 in “VS Code deactivates IntelliCode in favor of the paid Copilot”

    “I also love the simplicity of c vim and gdb”

    Comment from 10 Jun 2026 in “Grit: Rewriting Git in Rust with Agents”
  • Good for assembly and low-level work

    “Gdb is an excellent debugger for assembly, even when the original code was written in C”

    Comment from 28 Oct 2026 in “Assembly Nights (2021)”

    “Running gdb as subprocess, with breakpoints, step, run, continue, is the basic stuff.”

    Comment from 19 May 2026 in “No More JetBrains Products for Me”

    “that's can be done via GDB as well - save RAM + registers and then load them back”

    Comment from 28 Feb 2026 on Hacker News
  • Useful for debugging almost anything

    “GDB (or lldb, or valgrind, etc.) is useful for debugging just about anything.”

    Comment from 14 May 2026 in “Myths about /dev/urandom”

    “It helps to mess around a lot with smaller programs in gdb or lldb”

    Comment from 10 May 2026 in “Show HN: Building a web server in assembly to give my life (a lack of) meaning”

    “debugging it is relatively sane with gdb”

    Comment from 9 Feb 2026 in “Thoughts on Generating C”
  • Essential for crash and core dump analysis

    “The great thing about such crashes is if you have coredumps enabled that you can just load the crashed binary into GDB and type 'where'”

    Comment from 7 Nov 2025 in “A Note on Fil-C”

    “being able to just fire up gdb and get an immediate landscape of what the issues were in the program was just invaluable”

    Comment from 22 Feb 2026 in “Fix Your Tools”

What people warn about

Each mark is one comment

  • Slow or weak tracing support

    “gdb thread apply all bt is slow but does full call stack walking”

    Comment from 25 Jan 2026 in “I built a 2x faster lexer, then discovered I/O was the real bottleneck”

    “the tracing support is so bad in gdb”

    Comment from 30 Dec 2025 in “You Need to Ditch VS Code”

    “GDB and perf are not even in the same league.”

    Comment from 14 Dec 2025 in “RemoveWindowsAI”
  • Poor C++ type and data display

    “I'm unhappy with the tooling GDB/LLDB provide for displaying and debugging this information”

    Comment from 1 Dec 2025 in “Durin is a library for reading and writing the Dwarf debugging format”

    “handlig c++ types with gdb can be a nightmare”

    Comment from 25 Nov 2025 in “Rethinking C++: Architecture, Concepts, and Responsibility”
  • Fails on corrupted stacks or segmented memory

    “the cherry on top is that gdb just stops being useful since it doesn't know anything about segmented memory”

    Comment from 22 Apr 2026 in “Theseus, a Static Windows Emulator”

    “I stopped using it once it would break when the stack became corrupted and haven't tried it since.”

    Comment from 16 Mar 2026 in “Ask HN: What Are You Working On? (March 2026)”

Other debuggers people recommend

The four most recommended other debuggers, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

GDB (GNU Debugger) compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
GDB (GNU Debugger)This page291664%10——
WinDbg14382%7—Approved
HyperProbe12192%1——
RenderDoc10191%4—Approved
RAD Debugger7188%6——
See all 9 debuggers, ranked

What people said

40 of the 48 comments that mention it, newest first. Each links to the original comment.

“GDB has sufficed pretty well”

RecommendsComment from 28 Oct 2026 in “Assembly Nights (2021)”

“We had better tools 30 years ago when pure assembly work was more common.”

MixedComment from 28 Oct 2026 in “Assembly Nights (2021)”

“Gdb is an excellent debugger for assembly, even when the original code was written in C”

RecommendsComment from 28 Oct 2026 in “Assembly Nights (2021)”

“Using GDB to debug Asm is... certainly a choice.”

CriticizesComment from 28 Oct 2026 in “Assembly Nights (2021)”

“ptrace() is unbelievably crappy, and gdb is approximately as crappy.”

CriticizesComment from 17 Oct 2026 in “C++26: The New Debugging Header”

“gdb is certainly in the class of debuggers that get this wrong”

CriticizesComment from 16 Oct 2026 in “C++26: The New Debugging Header”

“I'd crawl over an acre of 'Visual This++' and 'Integrated Development That' to get to gcc, Emacs, and gdb.”

RecommendsComment from 29 Sep 2026 in “US sanctions force The Netherlands off Microsoft and toward alternative NixOS”

“You've earned your place in history.”

RecommendsComment from 29 Sep 2026 in “GDB 18.1 Released”

“That makes for a surprisingly nice”

RecommendsComment from 26 Aug 2026 in “A curmudgeon tries a language server”

“A COLLECTION of useful programs alongside a kernel such as Linux.”

RecommendsComment from 6 Aug 2026 in “GNU Hurd News 2026-Q2”

“GDB support for any type of binary debugging was almost non-existent”

CriticizesComment from 14 Jul 2026 in “Show HN: FixBugs – Reproduce production bugs and verify fixes”

“debug when registers were getting trashed etc with GDB”

RecommendsComment from 30 Jun 2026 in “It's Linux, on a Sega Genesis”

“Well, there's ptrace/gdb?”

RecommendsComment from 16 Jun 2026 in “Unicorn – The Ultimate CPU Emulator”

“I also love the simplicity of c vim and gdb”

RecommendsComment from 10 Jun 2026 in “Grit: Rewriting Git in Rust with Agents”

“a lot of the expected developer tools are just barely functional or don’t exist”

CriticizesComment from 24 May 2026 in “Why Is Vivado 2026.1 Dropping Linux Support for Free Tier?”

“the debugging experience in GDB or LLDB is worse than it really ought to be”

CriticizesComment from 19 May 2026 in “No More JetBrains Products for Me”

“Running gdb as subprocess, with breakpoints, step, run, continue, is the basic stuff.”

MixedComment from 19 May 2026 in “No More JetBrains Products for Me”

“GDB (or lldb, or valgrind, etc.) is useful for debugging just about anything.”

RecommendsComment from 14 May 2026 in “Myths about /dev/urandom”

“It helps to mess around a lot with smaller programs in gdb or lldb”

RecommendsComment from 10 May 2026 in “Show HN: Building a web server in assembly to give my life (a lack of) meaning”

“the cherry on top is that gdb just stops being useful since it doesn't know anything about segmented memory”

CriticizesComment from 22 Apr 2026 in “Theseus, a Static Windows Emulator”

“gdb and others have perfectly fine text mode interfaces”

RecommendsComment from 28 Mar 2026 in “Improved Git Diffs with Delta, Fzf and a Little Shell Scripting”

“I stopped using it once it would break when the stack became corrupted and haven't tried it since.”

CriticizesComment from 16 Mar 2026 in “Ask HN: What Are You Working On? (March 2026)”

“that's can be done via GDB as well - save RAM + registers and then load them back”

RecommendsComment from 28 Feb 2026 on Hacker News

“They were much more successful in userland (coreutils, gcc and the toolchain, gdb, Emacs, to name a few).”

RecommendsComment from 27 Feb 2026 in “Open source calculator firmware DB48X forbids CA/CO use due to age verification”

“being able to just fire up gdb and get an immediate landscape of what the issues were in the program was just invaluable”

RecommendsComment from 22 Feb 2026 in “Fix Your Tools”

“sometimes prints dark blue text on a black background, which is unreadable”

CriticizesComment from 18 Feb 2026 in “Terminals should generate the 256-color palette”

“debugging it is relatively sane with gdb”

RecommendsComment from 9 Feb 2026 in “Thoughts on Generating C”

“thank god for QEMU+gdb protocol”

RecommendsComment from 5 Feb 2026 in “We tasked Opus 4.6 using agent teams to build a C Compiler”

“gdb thread apply all bt is slow but does full call stack walking”

MixedComment from 25 Jan 2026 in “I built a 2x faster lexer, then discovered I/O was the real bottleneck”

“gdb from the terminal is good enough for me”

RecommendsComment from 5 Jan 2026 in “I switched from VSCode to Zed”

“the tracing support is so bad in gdb”

CriticizesComment from 30 Dec 2025 in “You Need to Ditch VS Code”

“I have inline debugging with gdb in neovim.”

RecommendsComment from 16 Dec 2025 in “VS Code deactivates IntelliCode in favor of the paid Copilot”

“GDB and perf are not even in the same league.”

CriticizesComment from 14 Dec 2025 in “RemoveWindowsAI”

“I haven't needed Valgrind or gdb in years, except some projects integrating C libraries.”

MixedComment from 10 Dec 2025 in “Rust in the kernel is no longer experimental”

“amd gdb is an actual debugger but it only works with applications that emit dwarf and use the amdkfd KMD”

MixedComment from 8 Dec 2025 in “AMD GPU Debugger”

“I'm unhappy with the tooling GDB/LLDB provide for displaying and debugging this information”

CriticizesComment from 1 Dec 2025 in “Durin is a library for reading and writing the Dwarf debugging format”

“just told it to use gdb when necessary”

RecommendsComment from 26 Nov 2025 in “JOPA: Java compiler in C++, Jikes modernized to Java 6 with Claude”

“handlig c++ types with gdb can be a nightmare”

CriticizesComment from 25 Nov 2025 in “Rethinking C++: Architecture, Concepts, and Responsibility”

“I volunteered to improve OCaml's gdb support (including DWARF hell), which went nowhere”

MixedComment from 7 Nov 2025 in “Why I love OCaml (2023)”

“The great thing about such crashes is if you have coredumps enabled that you can just load the crashed binary into GDB and type 'where'”

RecommendsComment from 7 Nov 2025 in “A Note on Fil-C”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.