Python代码追踪(类似于bash -x的效果)

#详细追踪
python -m trace --trace script.py

#显示调用了哪些函数
python -m trace --trackcalls script.py
posted @ 2015-08-20 21:36  大海星  阅读(542)  评论(0编辑  收藏  举报