I believe this fixes

[ 669692 ] pdb user_call breakage

What an odd interface!  I guess I should have read the docstring, though.
This commit is contained in:
Michael W. Hudson 2003-01-31 17:48:29 +00:00
parent 2e0b18af30
commit 01eb85cc03

View File

@ -117,8 +117,9 @@ class Pdb(bdb.Bdb, cmd.Cmd):
def user_call(self, frame, argument_list): def user_call(self, frame, argument_list):
"""This method is called when there is the remote possibility """This method is called when there is the remote possibility
that we ever need to stop in this function.""" that we ever need to stop in this function."""
print '--Call--' if self.stop_here(frame):
self.interaction(frame, None) print '--Call--'
self.interaction(frame, None)
def user_line(self, frame): def user_line(self, frame):
"""This function is called when we stop or break at this line.""" """This function is called when we stop or break at this line."""