Dieter Maurer escribió:
John Poltorak wrote at 2005-6-27 16:45 +0100:
Can anyone suggest how I would go about debugging a Python routine like
this through Zope?
It depends what type of object you want to debug, how much
money you are ready to invest and how much comfort you need.
At
Garito wrote at 2005-6-28 13:22 +0200:
...
Dieter: can you send us some info about debug PythonScripts with WingIDE?
No, I cannot -- colleagues of mine use it (and are quite
satisfied); I am using the archaic pdb :-)
But, I am sure, you find information on the respective web site...
All:
- Original Message -
From: John Poltorak [EMAIL PROTECTED]
Can anyone suggest how I would go about debugging a Python routine like
this through Zope?
span
tal:define=opts
python:here.lib.parse_file(file=here.members,sepr=',',clone=1)
tal:block repeat=opt opts
lia
I use a Script Python that writes to a ZPT. It first
reads the ZPT then appends new info; first with a time
stamp, container info, and the message. This works
from other Script Python objects or ZPTs. It's quick
and dirty; but, I've been able to use it for most of
my debugging.
There are other
More info that may be of help:
* Ken Manheimer's wiki on Zope debugging at
zope.org:
http://zope.org/Members/klm/ZopeDebugging/FrontPage
* Ken's original paper on the matter:
http://zope.org/Members/klm/ZopeDebugging/ConversingWithZope
* A more advanced coverage of the matter at
PROTECTED] la part de
Jonathan
Envoyé : lundi 27 juin 2005 17:57
À : John Poltorak; zope@zope.org
Objet : Re: [Zope] Debugging a python routine
- Original Message -
From: John Poltorak [EMAIL PROTECTED]
Can anyone suggest how I would go about debugging a Python routine like
this through Zope