Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

sdb

> 开发工具
Open source

Source code for the book Building a Debugger

383 stars0 likes1 views
WebsiteGitHub

About

Source code for the book Building a Debugger

Building a Debugger

This repository contains the source code for the book Building a Debugger.

See Errata for errata.

If you ordered the Early Access version of the book and want to update your code to the current version, see the Early Access Upgrade Guide.

  • Chapter 1: Project Setup
  • Chapter 2: Compilation and Computer Architecture (no code)
  • Chapter 3: Attaching to a Process
  • Chapter 4: Pipes, procfs, and Automated Testing
  • Chapter 5: Registers
  • Chapter 6: Testing Registers with x64 Assembly
  • Chapter 7: Software Breakpoints
  • Chapter 8: Memory and Disassembly
  • Chapter 9: Hardware Breakpoints and Watchpoints
  • Chapter 10: Signals and Syscalls
  • Chapter 11: Object Files
  • Chapter 12: Debug Information
  • Chapter 13: Line Tables
  • Chapter 14: Source-Level Breakpoints and Stepping
  • Chapter 15: Call Frame Information
  • Chapter 16: Stack Unwinding
  • Chapter 17: Shared Libraries
  • Chapter 18: Multithreading
  • Chapter 19: DWARF Expressions
  • Chapter 20: Variables and Types
  • Chapter 21: Expression Evaluation

Other implementations

Your codebase here: I'd love to feature implementations of the book written by you, especially if they're in a language other than C++. If you'd like to have your implementation featured here, please create an issue.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++bookcompilercompilersdebugger

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具