Staging
v0.5.1
https://github.com/python/cpython
Revision 4a9faa1ea077c0cf054d0d2ee1dc889b2972a63b authored by Johannes Gijsbers on 30 August 2004, 13:29:44 UTC, committed by Johannes Gijsbers on 30 August 2004, 13:29:44 UTC
1) When a breakpoint is set via a function name:
- the breakpoint gets the lineno of the def statement
- a new funcname attribute is attached to the breakpoint

2) bdb.effective() calls new function checkfuncname() to handle:
- def statement is executed: don't break.
- a first executable line of a function with a breakpoint on the lineno of the
def statement is reached: break.

This fixes bugs 976878, 926369 and 875404. Thanks Ilya Sandler.
1 parent cb7b3f3
History
Tip revision: 4a9faa1ea077c0cf054d0d2ee1dc889b2972a63b authored by Johannes Gijsbers on 30 August 2004, 13:29:44 UTC
Patch #1003640: replace checkline() function parsing with new breakpoint logic:
Tip revision: 4a9faa1
File Mode Size
VC6
bdist_wininst
example_nt
os2emx
os2vacpp
.cvsignore -rw-r--r-- 30 bytes
WinMain.c -rw-r--r-- 447 bytes
_winreg.c -rw-r--r-- 42.7 KB
config.c -rw-r--r-- 4.1 KB
dl_nt.c -rw-r--r-- 908 bytes
dllbase_nt.txt -rw-r--r-- 3.5 KB
frozen_dllmain.c -rw-r--r-- 3.6 KB
getpathp.c -rw-r--r-- 18.0 KB
icons.mak -rw-r--r-- 213 bytes
icons.rc -rw-r--r-- 59 bytes
import_nt.c -rw-r--r-- 2.4 KB
make_versioninfo.c -rw-r--r-- 1.0 KB
msvcrtmodule.c -rwxr-xr-x 4.9 KB
py.ico -rw-r--r-- 766 bytes
pyc.ico -rw-r--r-- 766 bytes
pycon.ico -rw-r--r-- 766 bytes
pyconfig.h -rw-r--r-- 15.5 KB
python.mk -rw-r--r-- 234 bytes
python_exe.rc -rw-r--r-- 49 bytes
python_nt.rc -rw-r--r-- 1.8 KB
readme.txt -rw-r--r-- 4.2 KB
testpy.py -rw-r--r-- 890 bytes
w9xpopen.c -rw-r--r-- 3.6 KB
winsound.c -rw-r--r-- 7.1 KB

readme.txt

back to top