Python - 单步调试
Python 有一个单步调试器模块,能实现基本的调试效果!详情请看Python标准文档说明:https://docs.python.org/2/library/pdb.html
调试例子:
>>> import pdb
>>> import mymodule
>>> pdb.run('mymodule.test()')
> <string>(0)?()
(Pdb) continue
> <string>(1)?()
(Pdb) continue
NameError: 'spam'
> <string>(1)?()
(Pdb)
从事图像处理、机器学习、图像识别及人机交互等领域研究及开发,承接各类人工智能、图像处理,视频处理,图像识别算法项目,请联系761551935

浙公网安备 33010602011771号