How to set condition breakpoints?

Dieter Maurer dieter at
Sat Dec 18 20:31:51 CET 2004

"Christopher J. Bottaro" <cjbottaro at> writes on Fri, 10 Dec 2004 11:45:19 -0600:
> ...
> Hmm, thanks for the suggestions.  One more quick question.  Is it even
> possible to set a breakpoint in a class method in  I can't even say
> "break Class.f" without the condition.  I don't think the documentation for
> pdb is very good...=(

What happens? I can do it...

However, I had to fix "pdb" to prevent it to set the breakpoint
inside the docstring (where it is not effective).

I hope the fix found its way into the most recent Python versions
(2.3.4 and 2.4).


More information about the Python-list mailing list