Skip to content

Lexicon Entry

Debugger

A debugger is a development tool that allows developers to inspect the runtime state of a program. It supports setting breakpoints, stepping through execution, and examining memory and CPU registers.

Related Knowledge & Cross-References

Musing

The Anatomy of a Perfect Stack Trace: Making Hand-Written Assembly Production-Ready

"Writing raw assembly is fun, but when it crashes, debuggers like GDB just show ?? () instead of a stack trace. How do C compilers make assembly 'debuggable'?"

Guide

Build a Debugger from Scratch: Ultimate 3 OS Guide (Part 8)

Build a working debugger from scratch in assembly. Learn how breakpoints, ptrace, and signal interception let one process inspect and control another.