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
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
相关文章推荐
- 在Python的Flask中使用WTForms表单框架的基础教程
- Python - 实用的内置函数zip
- PYTHON-进阶-编码处理
- 提取用Bounding box label标记后的误标文件
- Python中Mysql的操作方法
- 详解Python的Flask框架中生成SECRET_KEY密钥的方法
- windows下安装python pip
- python读取数据库数据,读取出的中文乱码问题
- python写入中文到文件乱码的问题
- Python实现农历生日提醒功能
- Python Flask Web 第十一课 —— 使用 Flask-SQLAlchemy 管理数据库
- python定义多维字典
- Python的学习
- Python的Flask框架中配置多个子域名的方法讲解
- 使用python通过selenium模拟打开chrome窗口报错 出现 "您使用的是不受支持的命令行标记:--ignore-certificate-errors
- Python的Flask框架中SERVER_NAME域名项的配置教程
- python实现hive自动化测试
- python itertools模块指南
- Python之re模块 —— 正则表达式操作[转]
- python 高阶函数(二)