略微扩展和净化的python调试器——支持zope的调试器

dm.pdb的Python项目详细描述


Pdb,python调试器,有一些限制。 这个分机试图去掉一些。

完成的事情

  • setting breakpoints

    Allow filename to specify a module as well.

    Allow setting breakpoints from outside via ^{tt2}$. This is useful for debug setups.

  • exception display

    We store the exception in the ^{tt1}$ instance. A new command ^{tt4}$ (abbreviated ^{tt5}$) calls ^{tt6}$ on the stored exception value.

  • ^{tt7}$ command improvements

    • each frame identifies its level (the top frame is at level 0, the one below it at level 1, etc…)

    • the current frame is marked as such

    • ^{tt7}$ gets optional arguments number and end

      number controls how many frames are displayed (default: ^{tt9}$), end at what level the display ends, negative numbers count from the bottom (default: ^{tt10}$, i.e. the bottom frame).

  • new command ^{tt11}$ (abbr: ^{tt12}$)

    switch to call frame at level

    without argument, provide info about current frame

  • allow to customize the display of the ^{tt7}$ command and of tracebacks e.g. to display additional debugging information as provided by Zope (for example).

    This can be done by customizing ^{tt14}$.

尚未完成的事情

  • Returning from ^{tt15}$ occasionally returns to ^{tt16}$ rather than where we entered the recursive debugger. This is often nasty (and should be fixed)

zpdb

模块zpdb包含一个针对zope开发的调试器。它显示 用于zope开发的附加调试信息 (–>;__traceback_info____traceback_supplement__)。这取决于 在包zExceptions上。

版本历史记录

1.3

  • Python 3 compatibility

1.2

  • fixed: ^{tt2}$ sometimes failed to resolve functions correctly.

1.1

  • improved handling of errors in command argument parsing
  • Python 2.6 compatibility

1.0.4

  • work around Python monkey patching ^{tt22}$ inside a doctest.

1.0.3

  • fix ^{tt15}$ to use the current ^{tt1}$ class, not Python’s.

1.0.2

  • let external calls to ^{tt2}$ work even after the first ^{tt26}$.

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

推荐PyPI第三方库


热门话题
java我能知道文件的哪个条目正在被修改吗?   多线程Java并发线程   java抓取包含多个页面的多个字母标签的网站   为什么if语句不排除Java中的另一个if语句?   Java可序列化哈希映射到ByteArray以创建blob   JavaEclipseLombokBuilder添加新建议   java将文件路径数组转换为文件数组,并计算每个文件的大小   在Java8流中添加大小数   Bouncy Castle 1.46之前版本的java兼容性问题   无法在AWS设备场上运行安卓 Java Appium测试   java为什么不使用mavenwarplugin将键与“WEBINF/classes/METAINF/MANIFEST.MF”合并?   java如何在引用子类的成员时调用super()   找不到java TestFx无头MonoclePlatformFactory   java AbstractMethodError onClientSessionEvent和“缺少控制媒体的权限”   正则表达式如何使用JAVA在字符串的大写字母前插入空格?   我的Spring安全项目中的java BCrypt(Spring安全)   java在我的网站上查看小程序更新时遇到问题   java如何使用schedule方法