mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00: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
1 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue