Stepping over a yield statement
Posted
by EoghanM
on Stack Overflow
See other posts from Stack Overflow
or by EoghanM
Published on 2010-05-23T17:44:40Z
Indexed on
2010/05/23
17:50 UTC
Read the original article
Hit count: 394
When in the Python debugger (pdb) I want to step over a yield statement, but hitting (n) for next brings me to the destination of the yield i.e. the consumer of the generator. I want to go to the next line that is executed within the generator. Is there any way to do this?
I'm using Python 2.6
© Stack Overflow or respective owner