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


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to