In pdb how do you reset the list (l) command line count?

Posted by Jorge Vargas on Stack Overflow See other posts from Stack Overflow or by Jorge Vargas
Published on 2009-08-23T14:13:40Z Indexed on 2010/04/13 23:12 UTC
Read the original article Hit count: 191

Filed under:
|

From PDB

(Pdb) help l
l(ist) [first [,last]]
  List source code for the current file.
  Without arguments, list 11 lines around the current line
  or continue the previous listing.
  With one argument, list 11 lines starting at that line.
  With two arguments, list the given range;
  if the second argument is less than the first, it is a count.

The "continue the previous listing" feature is really nice, but how do you turn it off?

© Stack Overflow or respective owner

Related posts about python

Related posts about pdb-python