Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Building a DebuggerSy Brand

    Building a Debugger

    Sy Brand · 2025

    Master the inner workings of your x64 Linux system and expand your OS expertise by writing your very own debugger using C++. If debuggers seem like magic to you, there is no better way to demystify them than to write your own. This book will show you exactly how to do it, walking you through the entire process of building a debugger for x64 Linux systems using C++. As go from an empty filesystem folder to a fully fledged debugger capable of setting breakpoints, stepping through code, manipulating variables, and more, you’ll learn how to: Attach to a process Read and write to registers Set hardware and software breakpoints Output disassembly Support multithreading and other tasks As you add features to your debugger, you’ll also pick up a wealth of knowledge about operating systems, compilers, software testing, and low-level programming that you can use in your day-to-day development.

    Other
    Open LibraryAmazon
    Stats for nerds
    8recommend
    11mentions
    8people
    2025–2026years
    100% recommend

    Mentions per year

    20252026

    What Hacker News says

    1. aleph_minus_oneAug 2026
      > I’m retired but mentor CS students at two local universities.

      > I haven’t had a student in two years that was even remotely interested in ring-0, internals, or really understanding a debugger.

      I know quite a lot of such people (even in student age) who are interested in such topics. I really have a feeling that you chose the wrong students at the wrong universities.

      Evidence for my point: rather recently, No Starch Press published quite a lot of about such topics - I am rather certain that a publisher knows quite well which kinds of books do or don't sell well at a given time:

      - The Book of Debugging https://nostarch.com/book-of-debugging

      - The Linux Memory Manager https://nostarch.com/linux-memory-manager

      - The Art of 64-Bit Assembly, Volume 2 https://nostarch.com/art-64-bit-assembly-v2

      - The Ghidra Book, 2nd Edition https://nostarch.com/ghidra-book-2e

      - Building a Debugger https://nostarch.com/building-a-debugger

      - Microcontroller Exploits https://nostarch.com/microcontroller-exploits

      - System Programming in Linux https://nostarch.com/system-programming-linux

      - The Art of ARM Assembly, Volume 1 https://nostarch.com/art-arm-assembly-volume-1

      - Getting Started with FPGAs https://nostarch.com/gettingstartedwithfpgas

      - The Book of I²C https://nostarch.com/book-i%C2%B2c

      thread
    2. turtleyachtJul 2026
      Sy Brand's Building a Debugger (2025)

      https://nostarch.com/building-a-debugger

      thread
    3. xqb64Jul 2026
      I've been watching this space closely and have been on the lookout for new releases. Besides "Building Git", there is also "Building a Debugger"[0], "Writing a C compiler"[1], "Crafting Interpreters"[2], "The Raytracer Challenge"[3], and a few others that I can't vouch for as they appear to be low-quality compared to the ones I listed out.

      The potential for technical authors in this space is enormous.

      [0]: https://nostarch.com/building-a-debugger

      [1]: https://nostarch.com/writing-c-compiler

      [2]: https://craftinginterpreters.com/

      [3]: http://raytracerchallenge.com/

      thread
    4. scott01Jul 2026
      There’s a relevant book from No Starch, highly recommend. The author also has a series of blog posts on the topic.

      https://nostarch.com/building-a-debugger

      thread
    5. xqb64Apr 2026
      There is "Building a Debugger"[0].

      [0]: https://nostarch.com/building-a-debugger

      thread
    6. xqb64Feb 2026
      Yeah. My favorite are books that guide you through implementing complex systems projects from scratch, like Nora Sandler's "Writing a C compiler", or Sy Brand's "Building a Debugger". I wish they produced A LOT more of them.
      thread

    Related

    Cover of Writing a C Compiler
    2024–2026

    Writing a C Compiler

    Nora Sandler
    7 recommend · 10
    Cover of Debugging
    2009–2026

    Debugging

    David J. Agans
    17 recommend · 22
    Cover of Advanced windows debugging
    2016–2026

    Advanced windows debugging

    Mario Hewardt
    5 recommend · 7
    Cover of Debugging applications
    2009–2017

    Debugging applications

    Robbins, John
    4 recommend · 5
    Cover of Debugging the development process
    2011–2022

    Debugging the development process

    Steve Maguire
    6 recommend · 9
    The art of debugging with GDB, DDD, and EclipseNorman S. Matloff
    2014–2015

    The art of debugging with GDB, DDD, and Eclipse

    Norman S. Matloff
    2 recommend · 2
    Cover of Effective Debugging
    2020–2023

    Effective Debugging

    Diomidis Spinellis
    recommend · 3
    2
    Cover of Advanced .NET debugging
    2015–2016

    Advanced .NET debugging

    Mario Hewardt
    3 recommend · 3