【发布时间】:2021-03-16 09:23:57
【问题描述】:
我在看到this answer on 'How to find where a running python program is getting hung?' 时遇到了this active state recipe。 我承认我是 python 的菜鸟。这个怎么用?
【问题讨论】:
我在看到this answer on 'How to find where a running python program is getting hung?' 时遇到了this active state recipe。 我承认我是 python 的菜鸟。这个怎么用?
【问题讨论】:
我假设您已将活动状态配方作为“hung.py”保存在与原始挂起程序相同的文件夹中。
python hung.py 123 (使用正确的 pid 而不是 123)【讨论】: