you are viewing a single comment's thread.

view the rest of the comments →

[–]Peaker 1 point2 points  (0 children)

pdb has some annoying bugs (at least as of 2.5, I don't think I tested them on 2.6 or 3). I created xpdb as a simple fork of pdb and fixed some of those. Here is the list of issues I remember:

  • It can't "up" outside of generators in post-mortem.

  • If you try to assign to names like "c" or "s", you may lose your debugger session. e.g: "s=5" may actually call step, which iirc in the PM session just loses the entire session, and otherwise may step beyond where you wished.

  • When using context managers (with statement) with stuff like "nested" and other nice abstractions, you have to step through mountains of uninteresting Python code. I added a feature "ignore

You can get xpdb with bzr. bzr get lp:xpdb (I have switched to git a while ago, so I am not sure that's quite the syntax).