[Zope] Help Debugging External Methods
Kapil Thangavelu
kthangavelu@earthlink.net
Tue, 17 Oct 2000 21:05:29 -0700
Robert_J_Roberts@rl.gov wrote:
> I'm not sure what you are referring to with "...the Python debugger
> "pdb"...". I've never used it.
The Debugger is your friend
http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFriend
> Robert J. Roberts
> LMSI-SD&I
> 509.376.6343
> robert_j_roberts@rl.gov
>
> -----Original Message-----
> From: Dieter Maurer [mailto:dieter@handshake.de]
> Sent: Saturday, October 14, 2000 1:51 PM
> To: Robert_J_Roberts@rl.gov
> Cc: zope@zope.org
> Subject: Re: [Zope] Help Debugging External Methods
>
> Robert_J_Roberts@rl.gov writes:
> > What are my options for debugging External Methods in Zope running on
> > Windows NT?
> I work under Unix. Maybe my technics are not applicable for NT.
>
> Usually, I use "print" statements for debugging purposes.
> Under Unix, I can redirect "stdout" to a file and
> view the output (be sure to flush stdout after "print").
>
> You can also use "zLog" (may be spelled differently!).
> This writes log entries into the log file.
> The advantages: will work under Windows, contains a timestamp.
>
> If the external method does not need too many Zope infrastructure,
> I test it outside of Zope and integrate only, when it works
> properly.
>
> When everything else does not work, I use "Test.py" and
> the Python debugger "pdb".
>
> Dieter
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> 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 )