pdb — The Python Debugger
来源:互联网 发布:如何做网络直播 编辑:程序博客网 时间:2024/06/02 07:30
调试脚本文件test.py
python -m pdb test.py
常用命令:
l #查看运行到哪行代码 n #单步运行,跳过函数 s #单步运行,可进入函数 p 变量 #查看变量值 b 行号 #断点设置到第几行 b #显示所有断点列表 cl 断点号 #删除某个断点 cl #删除所有断点 c #跳到下一个断点 r #return当前函数 exit #退出
参考链接:
https://docs.python.org/2.7/library/pdb.html
http://python.usyiyi.cn/python_278/library/pdb.html
0 0
- pdb — The Python Debugger
- pdb — The Python Debugger
- pdb — The Python Debugger(Python调试器)
- The python debugger调试(PDB)的简介
- pdb: Using the Python debugger in Django
- 使用PDB(The Python Debugger)命令行调试Python代码
- Notes on Python Debugger pdb
- Python——pdb调试
- python debugger
- pdb python
- pdb Python
- Python--pdb
- Python pdb
- python调试第一战——PDB
- The dbx debugger
- The dbx debugger
- Using the Debugger
- The Debugger's Handbook
- SSE技术简介
- 如何培养孩子的金钱价值观
- Android 渐变动画(Tween animation)
- 1108. Finding Average
- node.js url
- pdb — The Python Debugger
- 实用的 Python —— os.system() 在 python 语句中执行 dos 命令
- 转行入软件开发的开篇贴(日记里程碑文章)
- GitHub NB的开源汇总,一个一个学吧
- 各数据交换格式性能对比(协议兼容性、序列化反序列化耗时、流量、可读性)
- 接口(C# 编程指南)
- JavaScript中数组小结
- eeee
- Junit使用教程--整合spring测试套件