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

2005-08-07 Thread Ilya Sandler
Problem: When the code contains list comprehensions (or for that matter any other looping construct), the only way to get quickly through this code in pdb is to set a temporary breakpoint on the line after the loop, which is inconvenient.. There is a SF bug report #1248119 about this behavior.

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

2005-08-07 Thread Martin v. Löwis
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 ", which does "next" n

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

2005-08-07 Thread Ilya Sandler
On Sun, 7 Aug 2005, [ISO-8859-1] "Martin v. L?wis" wrote: > 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

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

2005-08-08 Thread Aahz
On Sun, Aug 07, 2005, Ilya Sandler wrote: > > Solution: > > 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, At OSCON, Anthony Baxter made the point that p

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

2005-08-08 Thread Ilya Sandler
> At OSCON, Anthony Baxter made the point that pdb is currently one of the > more unPythonic modules. What is unpythonic about pdb? Is this part of Anthony's presentation online? (Google found a summary and slides from presentation but they don't say anything about pdb's deficiencies) Ilya On M

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

2005-08-10 Thread Trent Mick
[Ilya Sandler wrote] > > > At OSCON, Anthony Baxter made the point that pdb is currently one of the > > more unPythonic modules. > > What is unpythonic about pdb? Is this part of Anthony's presentation > online? (Google found a summary and slides from presentation but they > don't say anything ab

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

2005-08-11 Thread Anthony Baxter
On Monday 08 August 2005 20:13, Ilya Sandler wrote: > > At OSCON, Anthony Baxter made the point that pdb is currently one of the > > more unPythonic modules. > > What is unpythonic about pdb? Is this part of Anthony's presentation > online? (Google found a summary and slides from presentation but t

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

2005-08-11 Thread Bob Ippolito
On Aug 11, 2005, at 3:02 PM, Anthony Baxter wrote: > On Monday 08 August 2005 20:13, Ilya Sandler wrote: > >>> At OSCON, Anthony Baxter made the point that pdb is currently one >>> of the >>> more unPythonic modules. >>> >> >> What is unpythonic about pdb? Is this part of Anthony's presentation