Utilities for tracing program execution line-by-line.
Have you ever been in a situation where you weren't quite sure what a program was doing? Where the program seems to hang, or seems to spend too long between two stages, or is behaving in a way you don't expect it to? tracing lets you see in real-time exactly what is being run, without some of the overhead of using a debugger - like having to set breakpoints or manually advance the program's execution.
pip install tracing
Within code:
from tracing import tracing
with tracing():
... # each line executed will be printed to stdoutWithin an IPython shell:
In [0]: import tracing
In [1]: %trace enable- Name: H. Chase Stevens
- Twitter: @hchasestevens
