Message31078
| Author |
decitre |
| Recipients |
| Date |
2007年01月24日.10:22:47 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 14:51:29 | admin | link | issue1643369 messages |
| 2007年08月23日 14:51:29 | admin | create |
|