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
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 109 bytes
.hgtags -rw-r--r-- 2.3 KB
LICENSE -rw-r--r-- 12.9 KB
Makefile.pre.in -rw-r--r-- 31.6 KB
README -rw-r--r-- 48.3 KB
aclocal.m4 -rw-r--r-- 2.1 KB
configure -rwxr-xr-x 570.6 KB
configure.in -rw-r--r-- 85.0 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 23.6 KB
setup.py -rw-r--r-- 52.1 KB

README

back to top