您的位置:首页 > 编程语言 > Python开发

python调试工具pdb和ipdb的使用

2016-06-07 16:28 796 查看
1安装 
pip install ipdb 
或: easy_install ipdb 
2 调试使用ipdb 

python -m pdb xxx.py 
python -m ipdb xxx.py 

3 调试命令(键入h查看) 

Documented commands (type help <topic>): 

======================================== 

EOF bt cont enable jump pdef psource run unt 

a c continue exit l pdoc q s until 

alias cl d h list pfile quit step up 

args clear debug help n pinfo r tbreak w 

b commands disable ignore next pinfo2 restart u whatis 

break condition down j p pp return unalias where 

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: