pdb question

Fredrik Lundh fredrik at pythonware.com
Sun Nov 26 21:41:03 CET 2006


tac-tics wrote:

> 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 
course).

if nothing else works, you can use the line or file:line syntax.

</F>




More information about the Python-list mailing list