略微扩展和净化的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}$.