[issue16596] Skip stack unwinding when "next", "until" and "return" pdb commands executed in generator context

Xavier de Gaye report at bugs.python.org
Tue Dec 11 18:04:39 CET 2012


Xavier de Gaye added the comment:

The 'until' command is also broken (by xdegaye's patch) when issued at a return
debug event and not debugging a generator.

This new patch fixes both problems.

The patch also adds another test case to check that pdb stops after a 'next',
'until' or 'return' command has been issued at a return debug event.

----------
Added file: http://bugs.python.org/file28280/issue16596_nostate_2.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16596>
_______________________________________


More information about the Python-bugs-list mailing list