[Zope] Help Debugging External Methods
Dieter Maurer
dieter@handshake.de
Mon, 23 Oct 2000 22:31:23 +0200 (CEST)
.... the Python debugger "pdb"....
It's a Python module used to debug Python programs.
It can set breakpoints, single step and print expressions.
It is activated automatically, when you start
"ZPublisher/Test.py" with the "-D" option.
Usually, I do not use it this way, however, as
it takes too long, before I reach the interesting
point. Instead, I use:
import pdb; pdb.set_trace()
at the point in Python code, where I want to get control.
Then I use "Test.py" without "-D".
Dieter