PDB的克隆,快速,具有远程调试和附加功能。

pdb-clone的Python项目详细描述


功能

  • Implement the most recent Python 3 features of pdb, as defined in the Python 3 pdb documentation. The pdb command line interface remains unchanged except for the new ^{tt1}$ and ^{tt2}$ pdb commands.
  • Improve significantly pdb performance. With breakpoints, pdb-clone runs just below the speed of the interpreter while pdb runs 10 to 100 times slower than the interpreter, see Performances.
  • Extend pdb with remote debugging. A remote debugging session may be started when the program stops at a ^{tt3}$ hard-coded breakpoint, or at any time and multiple times by attaching to the process main thread. See RemoteDebugging
  • Fix pdb long standing bugs entered in the Python issue tracker, see the News.
  • Add a bdb comprehensive test suite (more than 70 tests) and run both pdb and bdb test suites.

pdb clone在所有受支持的python版本上运行相同的源代码,这些版本是:

  • Python 3: from version 3.2 onward.
  • Python 2: version 2.7.

另请参见README和项目home page

issue tracker报告错误。

用法

调用pdb clone作为脚本来调试其他脚本。例如:

$ pdb-clone myscript.py

或者使用pdb documentation中描述的运行pdb的不同方法之一并替换:

import pdb

使用:

from pdb_clone import pdb

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java Hibernate:列计数与第1行的值计数不匹配   java如何获取在listview上单击的项目的用户唯一id   java如何使用视图处理水平和垂直约束。跑了   在linux/ubuntu中运行java程序时出现NoClassDefFoundError   java如何使用安卓上发布的触摸屏?   每次访问页面时,Android都会运行Java   Java Netbeans Jlabel隐藏和显示   创建OnClickListener(Android)时的java NullPointerException   IntelliJ中的java本地脚本找不到mvn(IOException/没有这样的目录)   java查找三个数组中至少两个数组中的数字   关于如何拥有不同布局的java 安卓代码   JAVA中需要的数组正则表达式   javascript获取Struts 2 valuestack变量到JQuery   java查询可重入锁相对于同步块的缺点   java Varags对象处理异常