This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: PDB: unreliable breakpoints on functions
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: jlgijsbers Nosy List: dmaurer, isandler, jlgijsbers
Priority: normal Keywords:

Created on 2004-06-21 16:56 by dmaurer, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pdbbug.py dmaurer, 2004-06-21 16:56 Script demonstration the problem
Messages (5)
msg21233 - (view) Author: Dieter Maurer (dmaurer) Date: 2004-06-21 16:56
Breakpoints set on functions are unreliable because 
"pdb.Pdb.checkline" thinks lines inside a 
multi-column docstring were adequate lines for 
breakpoints. 
 
Of course, such breakpoints are ignored during 
execution. 
msg21234 - (view) Author: Dieter Maurer (dmaurer) Date: 2004-06-21 16:58
Logged In: YES 
user_id=265829

Patch attached 
msg21235 - (view) Author: Ilya Sandler (isandler) Date: 2004-07-15 22:59
Logged In: YES 
user_id=971153

I'd like to add that this bug is probably related (but not
identical) to:

bug#926369 &
bug#875404

which are also caused by pdb.checkline()

it might be a good idea to fix all three bugs at once...
msg21236 - (view) Author: Ilya Sandler (isandler) Date: 2004-08-04 23:24
Logged In: YES 
user_id=971153

Patch 1003640 should fix this problem
msg21237 - (view) Author: Johannes Gijsbers (jlgijsbers) * (Python triager) Date: 2004-08-30 13:32
Logged In: YES 
user_id=469548

Fixed by checking in patch 1003640.
History
Date User Action Args
2022-04-11 14:56:04adminsetgithub: 40426
2004-06-21 16:56:57dmaurercreate