~/talk

Let’s Rethink Debugging

Talkat PyCascades 2021 · 2021-02-19..02-21· [python]
name:laike9m
links:none on file
slides:none on file

Explains why common techniques (print, logging, debuggers) trade ease for information and claims no current tool is as effortless as print yet as informative as a debugger. Shows how Python’s bytecode and the settrace API can record stack operations to reconstruct dataflow, and demos a prototype called Cyberbrain that builds value-flow graphs (currently limited to a single function but working). Compares related tools like PySnooper and warns DAP limits debugger innovation while urging more experimental debuggability.

AI-written summary · about

  1. 0:00Intro
  2. 0:33What we'll cover
  3. 0:57Four Type of Errors
  4. 1:40In this context, debugging is about
  5. 2:42Debugging in EDSAC
  6. 3:05The 80's: debuggers
  7. 3:19Debugging Methods
  8. 4:38Why Logging
  9. 5:28Why Debugger
  10. 5:54Why not Debugger
  11. 6:33Pain point one
  12. 7:53Pain point two
  13. 8:41Another way
  14. 10:13An Ideal Debugging Tool
  15. 10:45Python bytecode
  16. 11:36CPython Virtual Machine
  17. 13:48Let's use it for debugging
  18. 18:59Cyerbrain is an attempt to solve the two pain points
  19. 19:42Existing tools are
  20. 19:52becoming calcified
  21. 21:14New Tools
  22. 22:00An Example: PySnooper
  23. 23:52What can we do?
~/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.