logo dotConferences
Menu

Debuggers from scratch

Liz Rice at dotGo 2017

Liz explains how a debugger works by building one in a few lines of Go. This includes mapping between Go source code and the machine code instructions it compiles to, and using the ptrace system call to set break points and examine and modify the running process.

Slides

More details

There's a more complete version of this debugger code here