2021-10-02 python►notes python debugger 调试 gdb 1234$ export PYTHONPATH=/path/to/python/lib/python3.6/site-packages/Cython/Debugger:$PYTHONPATH$ gdb /path/to/python <pid>(gdb) python import libpython(gdb) py-bt 参考 gdb 调试手册 https://blog.csdn.net/github_40094105/article/details/81287572 https://www.codenong.com/52258378/ https://www.cnblogs.com/sting2me/p/7745551.html Newer python common notes Older python argparse