Contribute Media
A thank you to everyone who makes this possible: Read More

Writing Custom Tracing Functions


PyDX 2016 talk by Tom Offerman

When most Python developers want to observe the execution of their program on a function-by-function, or line-by-line, basis, they tend to reach for a debugger. But, debuggers like pdb are actually built on the trace module in the standard library. In this talk for beginner and intermediate Python programmers, learn how to use trace by writing your own custom tracing functions...and also see how tools like debuggers and coverage leverage the power of trace under the hood.


Improve this page