trace — Follow Program Flow — PyMOTW 3
The trace module is useful for understanding the way a program runs. It watches the statements executed, produces coverage reports, and helps investigate the relationships between functions that call each other.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.