mirror of
https://github.com/python/cpython.git
synced 2024-11-24 02:15:30 +08:00
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:
parent
2e0b18af30
commit
01eb85cc03
@ -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."""
|
||||
|
Loading…
Reference in New Issue
Block a user