diff options
author | Just van Rossum <just@letterror.com> | 2001-06-25 18:01:24 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2001-06-25 18:01:24 (GMT) |
commit | ae1f65ff825f72f3972e503036966e206f5b39fa (patch) | |
tree | a88e4e0914cb014e8876e8d59e1db94372e75378 /Lib | |
parent | b037d332454053d98b9ca36950891deb292095c6 (diff) | |
download | cpython-ae1f65ff825f72f3972e503036966e206f5b39fa.zip cpython-ae1f65ff825f72f3972e503036966e206f5b39fa.tar.gz cpython-ae1f65ff825f72f3972e503036966e206f5b39fa.tar.bz2 |
Return self.trace_dispatch from dispatch_return() to enable stepping through generators. (An alternative would be to create a new "yield" debugger event, but that involves many more changes, and might break Bdb subclasses.)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/bdb.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -74,6 +74,7 @@ class Bdb: if self.stop_here(frame) or frame == self.returnframe: self.user_return(frame, arg) if self.quitting: raise BdbQuit + return self.trace_dispatch def dispatch_exception(self, frame, arg): if self.stop_here(frame): |