debug python
来源:互联网 发布:flv下载软件硕鼠 编辑:程序博客网 时间:2024/06/07 00:52
一篇简洁明了的文章:
http://pythonconquerstheuniverse.wordpress.com/category/the-python-debugger/
这里简单摘录一些
1. 在代码里停下等待调试:
import pdb
加入pdb.set_trace()
2. 单步执行:
n
3. 运行python代码:
!b='BBB'
关键是加个感叹号,因为b是设置断点命令,所以要显示b的值,需要使用命令p:
p b
- debug python
- python debug【】
- python debug
- Python Debug
- Python debug
- python debug
- 关于Python的Debug...
- python Debug 文件结束
- python debug 工具pdb
- python 语言如何debug
- pdb (python debug)
- python debug and build
- Python——debug
- Python debug(二)
- python multiprocessing debug
- pdb debug python
- 运程debug python程序
- debug python in ipython
- [zz]js动态div添加
- Eclipse中CVS界面功能描述 --特殊情况及其处理(二)
- ViewState与Session,以后知道怎么在page中设计变量了
- base64加密
- hash_set和hash_map自定义数据类型的处理
- debug python
- [zz]IE和Firefox下event乱谈
- C语言标准函数库
- MFC 选择文件夹的对话框
- C# 运行时调用dll、dll中对象、对象中方法等
- poj 3067 Japan
- javascript-高级对象
- 谦虚、谦虚、再谦虚
- Apache2安装mod_fcgid