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
Modules
Python
support
Makefile -rw-r--r-- 14.9 KB
README -rw-r--r-- 1.2 KB
pyconfig.h -rw-r--r-- 17.5 KB
sleep.c -rw-r--r-- 866 bytes
unixstuff.c -rw-r--r-- 1.7 KB
unixstuff.h -rw-r--r-- 318 bytes

README

back to top