Issue 738154: pdb doesn't find some source files (original) (raw)

Created on 2003-05-15 09:53 by hdima, last changed 2022-04-10 16:08 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pdb222.diff hdima,2003-05-15 09:53 Patch to [bp]db.py
Messages (4)
msg16024 - (view) Author: Dmitry Vasiliev (hdima) Date: 2003-05-15 09:53
In python 2.2.2 code object attribute co_filename contains relative to sys.path path (in python 2.3 the path is absolute), so pdb doesn't find some source files (for example, in the site-packages directory). The attached patch extends functionality of the bdb.Bdb.canonic method up to searching source files in sys.path.
msg16025 - (view) Author: Johannes Gijsbers (jlgijsbers) * (Python triager) Date: 2004-08-13 14:15
Logged In: YES user_id=469548 I'm not sure I understand the problem. I can do the following just fine (on 2.2, 2.3 and 2.4 CVS): (Pdb) b bikeemacs.py:32 Breakpoint 1 at /usr/lib/python2.3/site-packages/bikeemacs.py:32 Could you clarify?
msg16026 - (view) Author: Dmitry Vasiliev (hdima) Date: 2004-08-16 07:04
Logged In: YES user_id=388573 Now I can't remember the problem too, since I don't use python2.2 more than a year. I suggest close this bug as "not bug".
msg16027 - (view) Author: Johannes Gijsbers (jlgijsbers) * (Python triager) Date: 2004-08-16 13:15
Logged In: YES user_id=469548 Okay, closing.
History
Date User Action Args
2022-04-10 16:08:46 admin set github: 38508
2003-05-15 09:53:07 hdima create