On 2/23/19 5:23 AM, Asad wrote:
Hi All ,

          I am using : pdb.set_trace()
          can you all share some good tricks i using n ,s , l . The tedious part which I see is  if it is a loop like for loop then I need to do next till the length for the data is completed

for x in string :
      if re.search(x,line)

len(string)
     = 2500

therefore I need to press n 2500 time so that the loop completes and goes to another line of code . Any suggestions? how can run the for loop without doing n for 2500 times ?

pdb has an "until" command you can use to get it to run until the line after the loop, if that's what you are looking for. sorry, it's a little hard to tell what you *are* looking for.


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to