From: Michael W. Hudson Date: Fri, 31 Jan 2003 17:48:29 +0000 (+0000) Subject: I believe this fixes X-Git-Tag: v2.3c1~2153 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01eb85cc0324a42160b676ee31a1a707bda579ee;p=thirdparty%2FPython%2Fcpython.git I believe this fixes [ 669692 ] pdb user_call breakage What an odd interface! I guess I should have read the docstring, though. --- diff --git a/Lib/pdb.py b/Lib/pdb.py index 1a57c85791a4..6ae288532994 100755 --- a/Lib/pdb.py +++ b/Lib/pdb.py @@ -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."""