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)

Understanding the bridge between your code and the kernel is the final key to demystifying how software works. Up to this point in my Assembly Series, you've mastered how to load a process, how calling conventions manage functions, how memory is laid out, and finally, how to talk directly to the hardware via system calls.