Commit 01eb85cc authored by Michael W. Hudson's avatar Michael W. Hudson

I believe this fixes

[ 669692 ] pdb user_call breakage

What an odd interface!  I guess I should have read the docstring, though.
parent 2e0b18af
......@@ -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."""
......
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