摘要: 本文利用sys.settrace() + atexit.register()和inspect模块实现了一种Python脚本运行轨迹的查看方法。 1. 核心模块 - debug.py 1 #!/usr/bin/python3 2 """ 3 debug module for Python progra 阅读全文
posted @ 2022-03-04 21:24 veli 阅读(388) 评论(0) 推荐(0) 编辑