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
1 changed files with 3 additions and 2 deletions

View File

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