Hey all! I'd mentioned this to some folks in person at Handmade Boston, but this might be my first time sharing this project in this Discord, but I've been working for a while on a from-scratch graphical Linux debugger for ELF/DWARF binaries

It doesn't depend on GDB/LLDB/DAP/libunwind/any libraries at all related to debuggers; its only dependencies at the moment are glfw and dear imgui

Currently, it only supports C and Zig, but over time I do intend to support pretty much any popular and/or handmade language that compiles naively

Here's a quick demo to show you what it looks like. It's got a bunch of features you'd expect from a debugger like:

  • Loading debug symbols and running a child process
  • Setting/enabling/disabling/unsetting breakpoints
  • Stepping in/out/over/singe-step, continue execution, kill the subprocess, all other normal program control mechanisms
  • Displaying stdout/stderr from the child
  • Unwinding the call stack
  • Displaying local/watch variables
  • Displaying registers
  • Hex viewer for memory addresses

There's still a ton to do! I love talking about debuggers and other stuff, so if you have questions reach out

(re-posted with an mp4 rather than mkv)