多线程应用程序的堆栈跟踪程序
stacktracer的Python项目详细描述
多线程应用程序的堆栈跟踪程序。
安装
只需使用pip:
pip install stacktracer
用法
importstacktracerstacktracer.trace_start("trace.html",interval=5,auto=True)# Set auto flag to always update file!# Do something with multi-threading herestacktracer.trace_stop()