python跟踪脚本运行过程(类似bash shell -x)

#详细追踪

python -m trace --trace pyscript.py

  

#显示调用了哪些函数
python -m trace --trackcalls pyscript.py
posted @ 2020-09-15 10:03  DBArtist  阅读(744)  评论(0编辑  收藏  举报