mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +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):
|
def user_call(self, frame, argument_list):
|
||||||
"""This method is called when there is the remote possibility
|
"""This method is called when there is the remote possibility
|
||||||
that we ever need to stop in this function."""
|
that we ever need to stop in this function."""
|
||||||
print '--Call--'
|
if self.stop_here(frame):
|
||||||
self.interaction(frame, None)
|
print '--Call--'
|
||||||
|
self.interaction(frame, None)
|
||||||
|
|
||||||
def user_line(self, frame):
|
def user_line(self, frame):
|
||||||
"""This function is called when we stop or break at this line."""
|
"""This function is called when we stop or break at this line."""
|
||||||
|
Loading…
Reference in New Issue
Block a user