Bugs item #1643369, was opened at 2007-01-24 10:22
Message generated for change (Settings changed) made by decitre
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1643369&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
>Priority: 6
Private: No
Submitted By: decitre (decitre)
Assigned to: Nobody/Anonymous (nobody)
Summary: function breakpoints in pdb

Initial Comment:
pdb.Pdb.find_function method is not able to recognize class methods, since the 
regular expression it uses only looks for "def" at beginning of lines.

Please replace
r'def\s+%s\s*[(]' % funcname
with
r'\s*def\s+%s\s*[(]' % funcname

test file in attachment. this file shows that pdb can set a breakpoint on foo 
but not on readline function.

Regards, Emmanuel
www.e-rsatz.info

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1643369&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to