[Zope] Monitor

Shane Hathaway shane@digicool.com
Fri, 21 Jul 2000 15:46:18 -0400


darryl@igor.penguinpowered.com wrote:
> 
> Isn't anyone using the medusa/monitor_client.py script to debug their
> zopes? I can start it up fine and view the sequence of objects I have
> created, but my question is how do I access the return value of a DTML
> method? The Zope Debugging how-to is a little scant on the subject.

python monitor_client.py localhost 8099
(enter password)
import Zope
app = Zope.app()
m = app.folder1.subfolder.myMethod
m()

and don't forget..

get_transaction().commit()

Shane