
Building a Debugger
Sy Brand · 2025
Programming and computer science › Compilers and interpreters
#4,660 most recommended
Hacker News
11
mentions by 8 people · top 27% of 15,732 books
Open Library
—
No ratings yet
1 want to read
Wikipedia
—
No article yet
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
In the commenters’ own words
> 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…
It's really fascinating the different little evaluators that exist in DWARF. I started writing one for the DWARF expression format (…
What Open Library readers say
No Open Library reader has rated it yet.
- 1 want to read
- 0 reading
- 0 have read
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
Read next: its neighbours on the mosaic
Crafting InterpretersRobert Nystrom · 2021 · recommended by 295 people · 2 people recommended both
Writing a C CompilerNora Sandler · 2023 · recommended by 7 people · loosely similar by subject
Advanced windows debuggingMario Hewardt · 2007 · recommended by 5 people · similar by subject and what people say about it
Why programs failAndreas Zeller · 2005 · recommended by 7 people · similar by subject and what people say about it
The art of debugging with GDB, DDD, and EclipseNorman S. Matloff · 2008 · recommended by 2 people · similar by subject and what people say about it
Effective DebuggingDiomidis Spinellis · 2016 · recommended by 2 people · similar by subject and what people say about it
Building GitJames Coglan · 2021 · recommended by 19 people · similar by subject and what people say about it
Advanced .NET debuggingMario Hewardt · 2009 · recommended by 3 people · similar by subject and what people say about it
Debugging applicationsRobbins, John · 2000 · recommended by 4 people · similar by subject and what people say about it
DebuggingDavid J. Agans · 2002 · recommended by 17 people · similar by subject and what people say about it
The Rust Programming LanguageSteve Klabnik · 2018 · recommended by 170 people · similar by subject and what people say about it
Find the bugAdam Barr · 2004 · recommended by 2 people · similar by subject and what people say about it
A theory of objectsMartín Abadi · 1996 · recommended by 4 people · loosely similar by subject
Ruby under a microscopePat Shaughnessy · 2014 · recommended by 32 people · similar by subject and what people say about it
Beautiful RacketMatthew Butterick · 2017 · recommended by 44 people · similar by subject and what people say about it
DTraceBrendan Gregg · 2011 · recommended by 3 people · similar by subject and what people say about it
Your Code as a Crime SceneAdam Tornhill · 2015 · recommended by 12 people · loosely similar by subject
Reverse Engineering for BeginnersDennis Yurichev · 2013 · recommended by 23 people · similar by subject and what people say about it
Structured ProgrammingO. Dahl · 2012 · recommended by 3 people · similar by subject and what people say about it
A Little SmalltalkTimothy Budd · 1987 · recommended by 5 people · similar by subject and what people say about it
Debugging the development processSteve Maguire · 1994 · recommended by 6 people · similar by subject and what people say about it
Writing An Interpreter In GoThorsten Ball · 2018 · recommended by 73 people · similar by subject and what people say about it
The IDA Pro bookChris Eagle · 2008 · recommended by 5 people · similar by subject and what people say about it
A discipline of programmingEdsger Wybe Dijkstra · 1976 · recommended by 16 people · similar by subject and what people say about it