23 Oct
2000
23 Oct
'00
8:31 p.m.
.... 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