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

README

back to top