14 Oct
2000
14 Oct
'00
8:50 p.m.
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
9305
Age (days ago)
9305
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer