fredrik at pythonware.com
Sun Nov 26 21:41:03 CET 2006
> In the Python debugger (pdb), how do you designate breakpoints at the
> start of methods?
> I've tried:
> break methodName
> break class.methodName
> break object.methodName
> but none of these seem to work. What is the trick?
define "seem to work".
the "className.methodName" and "object.methodName" forms seem to work
just fine to me (assuming that the class or object has been defined, of
if nothing else works, you can use the line or file:line syntax.
More information about the Python-list