diff options
author | Michael W. Hudson <mwh@python.net> | 2003-01-31 17:48:29 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2003-01-31 17:48:29 (GMT) |
commit | 01eb85cc0324a42160b676ee31a1a707bda579ee (patch) | |
tree | 405e487eb46ff8d5227636c44a2218926a100b35 /Lib | |
parent | 2e0b18af3092a24c9689f72af898083ebfd9aec7 (diff) | |
download | cpython-01eb85cc0324a42160b676ee31a1a707bda579ee.zip cpython-01eb85cc0324a42160b676ee31a1a707bda579ee.tar.gz cpython-01eb85cc0324a42160b676ee31a1a707bda579ee.tar.bz2 |
I believe this fixes
[ 669692 ] pdb user_call breakage
What an odd interface! I guess I should have read the docstring, though.
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/pdb.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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.""" |