Diagnostics - Seeing Inside Your Application Without Logging
summary
Claims a lightweight, on‑demand diagnostics layer embedded in a Python app that replies with human‑readable text over a simple UDP protocol; a 40‑line client sends a page number (table of contents typically at 255) and the app returns plain text. Implementation notes include a UDP page‑number API, a circular buffer logger to retain 100 lines of context, a decorator to capture crashes, use of the blessed package for terminal color, and references to pdb and Twisted manhole for deeper inspection.
AI-written summary · about
chapters (7)
- 0:00Application diagnostics intro
- 1:05Reliability and repairability
- 6:57Good diagnostic tools
- 13:55Diagnostics in IoT systems
- 16:24Embedding diagnostics in Python
- 27:02Quick fixes and reboots
- 28:08Q&A
related talks
28mInstant-feedback, instant-debugging Python coding
31mGoodbye Print, Hello Debugger!
25mRub-A-Dub Rubber Duck: Don't be Afraid to Debug!
29mPeering into the black box: tips for visualizing your program's behavior
23mEntomology 101: Effective Bug Hunting
05mDebugging with vim, tmux, and pudb
28mGoodbye Print, Hello Debugger!
29mLiberating the Debugging Experience with the GDB Python API
