DeepRead
Cover of Building a Debugger

Building a Debugger

Sy Brand · 2025

Programming and computer science › Compilers and interpreters

#4,660 most recommended

About the book

A hands-on guide to writing a native x86-64 debugger from scratch. It walks the reader through the core mechanisms a debugger depends on, such as controlling a running process, setting breakpoints, and inspecting registers and memory, so the reader ends up with a working tool. Debuggers are not magic: they are ordinary programs built on operating-system process control and on the machine-code and debug-information formats a compiled binary carries. Learning them is best done by building one, step by step, so that each concept is seen working in code. The book presents this build-it approach as a practical route to understanding low-level program execution.

Written by Claude from what it knows of this book.

What Hacker News says 100% recommend · 0% critical

0510202520262026 peak · 6
This bookAverage book in Compilers and interpreters

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 1 want to read
  • 0 reading
  • 0 have read

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2025
ISBN
9781718504080
Editions known
2 at Open Library
Open Library
OL42424438W

Explore in the mosaic

Read next: its neighbours on the mosaic

  • Crafting Interpreters
    Robert Nystrom · 2021 · recommended by 295 people · 2 people recommended both
  • Writing a C Compiler
    Nora Sandler · 2023 · recommended by 7 people · loosely similar by subject
  • Advanced windows debugging
    Mario Hewardt · 2007 · recommended by 5 people · similar by subject and what people say about it
  • Why programs fail
    Andreas Zeller · 2005 · recommended by 7 people · similar by subject and what people say about it
  • The art of debugging with GDB, DDD, and Eclipse
    Norman S. Matloff · 2008 · recommended by 2 people · similar by subject and what people say about it
  • Effective Debugging
    Diomidis Spinellis · 2016 · recommended by 2 people · similar by subject and what people say about it
  • Building Git
    James Coglan · 2021 · recommended by 19 people · similar by subject and what people say about it
  • Advanced .NET debugging
    Mario Hewardt · 2009 · recommended by 3 people · similar by subject and what people say about it
  • Debugging applications
    Robbins, John · 2000 · recommended by 4 people · similar by subject and what people say about it
  • Debugging
    David J. Agans · 2002 · recommended by 17 people · similar by subject and what people say about it
  • The Rust Programming Language
    Steve Klabnik · 2018 · recommended by 170 people · similar by subject and what people say about it
  • Find the bug
    Adam Barr · 2004 · recommended by 2 people · similar by subject and what people say about it
  • A theory of objects
    Martín Abadi · 1996 · recommended by 4 people · loosely similar by subject
  • Ruby under a microscope
    Pat Shaughnessy · 2014 · recommended by 32 people · similar by subject and what people say about it
  • Beautiful Racket
    Matthew Butterick · 2017 · recommended by 44 people · similar by subject and what people say about it
  • DTrace
    Brendan Gregg · 2011 · recommended by 3 people · similar by subject and what people say about it
  • Your Code as a Crime Scene
    Adam Tornhill · 2015 · recommended by 12 people · loosely similar by subject
  • Reverse Engineering for Beginners
    Dennis Yurichev · 2013 · recommended by 23 people · similar by subject and what people say about it
  • Structured Programming
    O. Dahl · 2012 · recommended by 3 people · similar by subject and what people say about it
  • A Little Smalltalk
    Timothy Budd · 1987 · recommended by 5 people · similar by subject and what people say about it
  • Debugging the development process
    Steve Maguire · 1994 · recommended by 6 people · similar by subject and what people say about it
  • Writing An Interpreter In Go
    Thorsten Ball · 2018 · recommended by 73 people · similar by subject and what people say about it
  • The IDA Pro book
    Chris Eagle · 2008 · recommended by 5 people · similar by subject and what people say about it
  • A discipline of programming
    Edsger Wybe Dijkstra · 1976 · recommended by 16 people · similar by subject and what people say about it