“GDB - A Lot More Than You Knew"
summary
Shows concrete GDB workflows: the text UI (TUI) for visible source and disassembly, Python bindings like gdb.execute and gdb.parse_and_eval to script breakpoints and pretty‑printers that override print, and reversible debugging via record + reverse‑step to trace an intermittent stack smash (array indexed 33 vs 32). Gives performance numbers and alternatives: instruction‑level recording can be ~50,000x slower, Intel PT ~100x, rr ~2x, and commercial Undo/undb supports broader platforms. Demos include watchpoints on the stack pointer and reverse‑continue to the offending array store.
AI-written summary · about
chapters (10)
- 0:00Introduction to debugging
- 1:28GDB overview and tools
- 3:08GDB resources and power
- 7:18Using TUI mode
- 14:19Python scripting in GDB
- 20:21Interacting with GDB Python
- 27:20Pretty printers
- 37:25Reversible debugging
- 42:47Debugging a crash
- 53:11Alternative debug tools
related talks
15mGive me 15 minutes & I'll change your view of GDB
52mGetting the Most Out of GDB
29mLiberating the Debugging Experience with the GDB Python API
01h 01mBack to Basics: Debugging in Cpp
01h 02mTime Travel Debugging
31mGoodbye Print, Hello Debugger!
40mSo you think you can PDB?
53mDebugging: past, present and future
