Kaydet (Commit) ae1f65ff authored tarafından Just van Rossum's avatar Just van Rossum

Return self.trace_dispatch from dispatch_return() to enable stepping through…

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.)
üst b037d332
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment