pdb 是python 自带的一个包,为python 程序提供了一种交互的源代码调试功能,主要特性包括设置断 ... 方式1:在需要打断点的代码前加上import pdb; pdb.set_trace().
確定! 回上一頁