mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
This is my patch
[ 587993 ] SET_LINENO killer Remove SET_LINENO. Tracing is now supported by inspecting co_lnotab. Many sundry changes to document and adapt to this change.
This commit is contained in:
parent
add88060c1
commit
dd32a91cc0
19 changed files with 341 additions and 187 deletions
|
|
@ -105,7 +105,13 @@ class Pdb(bdb.Bdb, cmd.Cmd):
|
|||
if len(line) > 0 and line[0] != '#':
|
||||
self.onecmd(line)
|
||||
|
||||
# Override Bdb methods (except user_call, for now)
|
||||
# Override Bdb methods
|
||||
|
||||
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)
|
||||
|
||||
def user_line(self, frame):
|
||||
"""This function is called when we stop or break at this line."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue