~/talk

Liberating the Debugging Experience with the GDB Python API

Talkat CppCon 2018 · 2018-09-23..09-28· [developer-experience, c-and-cpp]
slides:none on file

Shows how gdb’s Python API plus external libraries build concrete debugging tools: uses frame decorators and frame filters to collapse verbose template backtraces and hide library frames, implements temporary and finish breakpoints to fake single-step by calling libClang to find user-call sites, connects to Valgrind’s server mode and parses monitor output to build a pointer graph with graph_tool to detect three-block reference loops, and drives a PyQt5 visualization of std::sort (throttled for demo). All demos run and reproduce the claimed results.

AI-written summary · about

  1. 0:00Introduction
  2. 0:48Outline
  3. 1:52Basic Python
  4. 4:12Improving Stack Traces
  5. 5:22Frame decorators
  6. 6:25decorators
  7. 6:52demo
  8. 8:30better stepping
  9. 9:16breakpoint
  10. 10:29lib clang
  11. 12:25lambda and sort
  12. 13:19finding leaks
  13. 15:02directed graph
  14. 16:20directed graph example
  15. 19:29visualizing algorithms
  16. 20:31building a graphical display
  17. 22:44the demo
  18. 24:17wrapping up
  19. 25:19conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.