Stack tracer for multi-threaded applications.
You can install stacktracer
simply using pip
:
pip install stacktracer
import stacktracer
stacktracer.trace_start("trace.html", interval=5, auto=True)
# Set auto flag to always update file!
# Do something with multi-threading here
stacktracer.trace_stop()