diff options
author | Ken Manheimer <klm@digicool.com> | 2003-03-03 00:35:32 (GMT) |
---|---|---|
committer | Ken Manheimer <klm@digicool.com> | 2003-03-03 00:35:32 (GMT) |
commit | e7aca521dbea3cba59249a1efe1216891201d704 (patch) | |
tree | ccebe6dcf7ec791d29fd878c907b7ea8f6a50676 /Modules/binascii.c | |
parent | ad5e76a8fbe3f638ce1946f99d0b7e62dfb7f7a9 (diff) | |
download | cpython-e7aca521dbea3cba59249a1efe1216891201d704.zip cpython-e7aca521dbea3cba59249a1efe1216891201d704.tar.gz cpython-e7aca521dbea3cba59249a1efe1216891201d704.tar.bz2 |
Enhanced pdbtrack to provide for source code that's not findable by
the reported path. (Eg, precompiled scripts with a file path suitable
for a different host, scripts actually running on a remote system or
with no valid path, like Zope through-the-web python scripts.)
On failing to find the code on the reported path, pdbtrack takes the
function name and looks through the buffers, from most to least
recent, seeking the first python-mode buffer that either is named for
the function or has a definition (def or class) for that function. So
to get source tracking for code that's not located where the path
indicates, you put a copy of the script in a buffer, and pdbtrack will
find it.
Also, fixed a small bug so pdbtrack now properly presents the overlay
arrow when you run the pdb 'w'here command.
Diffstat (limited to 'Modules/binascii.c')
0 files changed, 0 insertions, 0 deletions