Give me 15 minutes & I'll change your view of GDB
summary
Demos of GDB show three concrete workflows: use TUI mode (Ctrl‑X, Ctrl‑L, Ctrl‑P) to get source, asm and registers in curses windows; use the Python API to inspect and create breakpoint objects and pretty‑printers; and use reversible debugging plus a watchpoint (recording, reverse‑continue, reverse‑step) to find who wrote a bogus return address. The reversible run reproduces an intermittent crash, reveals an overwrite from index 35 into a 32‑element array (sizeof vs element count), and pinpoints the faulty write.
AI-written summary · about
chapters (7)
- 0:00Intro
- 0:20GDB
- 2:25TUI
- 3:15Multiple windows
- 5:45Python interpreter
- 7:50breakpoints
- 9:10reversible debugging
related talks
01h 27mBecome a GDB Power User
59m“GDB - A Lot More Than You Knew"
52mGetting the Most Out of GDB
01h 26mBoost your C/C++ Developer's Debugging Powers with GDB
01h 01mBack to Basics: Debugging in Cpp
29mLiberating the Debugging Experience with the GDB Python API
01h 02mTime Travel Debugging
08mData Breakpoints in Visual Studio Code
