[ python-Bugs-738154 ] pdb doesn't find some source files

SourceForge.net noreply at sourceforge.net
Mon Aug 16 15:15:33 CEST 2004


Bugs item #738154, was opened at 2003-05-15 11:53
Message generated for change (Comment added) made by jlgijsbers
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=738154&group_id=5470

Category: Python Library
Group: Python 2.2.2
>Status: Closed
>Resolution: Works For Me
Priority: 5
Submitted By: Dmitry Vasiliev (hdima)
Assigned to: Nobody/Anonymous (nobody)
Summary: pdb doesn't find some source files

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Johannes Gijsbers (jlgijsbers)
Date: 2004-08-16 15:15

Message:
Logged In: YES 
user_id=469548

Okay, closing.

----------------------------------------------------------------------

Comment By: Dmitry Vasiliev (hdima)
Date: 2004-08-16 09:04

Message:
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".

----------------------------------------------------------------------

Comment By: Johannes Gijsbers (jlgijsbers)
Date: 2004-08-13 16:15

Message:
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?


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=738154&group_id=5470


More information about the Python-bugs-list mailing list