[Python-Dev] pdb: should next command be extended?

"Martin v. Löwis" martin at v.loewis.de
Sun Aug 7 23:15:08 CEST 2005


Ilya Sandler wrote:
> Should pdb's next command accept an optional numeric argument? It would
> specify how many actual lines of code (not "line events")
> should  be skipped in the current frame before stopping,
[...]
> What do you think?

That would differ from gdb's "next <n>", which does "next" n times.
It would be confusing if pdb accepted the same command, but it
meant something different. Plus, there is always a chance that
<current line>+n is never reached, which would also be confusing.

So I'm -1 here.

Regards,
Martin


More information about the Python-Dev mailing list