摘要:
1,一般的情况下可以用python自带的debug包pdb来debug一个简单的routine。 用法如下: python -m pdb /path/script_name.py[root@cdntest-2 ~]# python -m pdb gdb.py > /root/gdb.py(1)<module>()-> import sys(Pdb) helpDocumented commands (type help <topic>):========================================EOF bt cont enable ... 阅读全文