Building a Debugger by Sy Brand

Building a Debugger

Write a Native X64 Debugger From Scratch

Sy Brand

No Starch Press · Print & ebook · June 10, 2025

Master the inner workings of your x64 Linux system and expand your OS expertise by writing your very own debugger using C++.

Buy on Amazon

We earn from qualifying purchases.

Who it’s for
Build a debugger for x64 Linux in C++ while exploring operating systems and low-level programming.
Themes
Debugger implementation, x64 Linux internals, Low-level programming
Genres
C++ Programming, Linux Systems, Dev Tools & Workflow

About this book

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++.

Continue reading

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.

Debugger Internals

Build a debugger for x64 Linux in C++ while exploring operating systems and low-level programming.

Come here for

  • Building an x64 Linux debugger in C++
  • Learning to attach to processes and work with registers

Expect

  • Breakpoint setting, code stepping, and variable manipulation
  • Disassembly output and multithreading support

Where it sits

Linux Systems70%
Dev Tools & Workflow40%
C++ Programming35%

Percentages are BookFrontier’s reading of the book.

Publisher categories

  • Linux Systems
  • C++ Programming
  • Testing & QA
Authors
Sy Brand
Publisher
No Starch Press
Published
June 10, 2025
Format
Print & ebook
Theme
Debugger implementation · x64 Linux internals · Low-level programming
Reading lane
Linux Systems