【文件属性】:
文件名称:ipdb:IPython pdb的集成
文件大小:16KB
文件格式:ZIP
更新时间:2021-04-28 07:52:50
python debugger ipython Python
IPython的pdb
用
ipdb导出功能以访问调试器,该调试器具有制表符补全,语法突出显示,更好的追溯,更好的自省性,并具有与pdb模块相同的接口。
用法示例:
import ipdb
ipdb . set_trace ()
ipdb . set_trace ( context = 5 ) # will show five lines of code
# instead of the default three lines
# or you can set it via IPDB_CONTEXT_SIZE env variable
# or setup.cfg file
ipdb . pm ()
ipdb . run (
【文件预览】:
ipdb-master
----setup.py(2KB)
----.gitignore(147B)
----COPYING.txt(1KB)
----.travis.yml(525B)
----MANIFEST.in(101B)
----setup.cfg(115B)
----README.rst(5KB)
----tests()
--------test_opts.py(2KB)
--------__init__.py(0B)
--------test_config.py(12KB)
--------test_import.py(560B)
----HISTORY.txt(6KB)
----AUTHORS(236B)
----ipdb()
--------__init__.py(507B)
--------stdout.py(805B)
--------__main__.py(10KB)
----manual_test.py(513B)
----tox.ini(319B)