[Zope] Re: ZOPE Python edit debug cycle

Loren Stafford lstaffor@dynalogic.com
Tue, 29 Aug 2000 16:52:02 -0700


From: "Karl Anderson" <karl@digicool.com>

> "Chui Tey" <teyc@bigfoot.com> writes:
>
> [quoting someone]
>
> > > Then I tried to edit a py file and see the new output. I had to use
> > > this sequence to see my tiny change:
> > >
> > >     make the change
> > >     save the change
> > >     Stop the ZOPE service
> > >     Start the ZOPE service
> > >     Refresh the ZOPE Web page
> > >     Inspect the change.
> > >
> > > If I had a syntax error, ZOPE throws it away and I never get to read
> > > it.
>
> You can see the error if you try to access the broken product
> definition in the control panel.
>
> I keep a link to the product and the restart button handy to reduce
> the pain.
>

There's also the Refresh product
(http://www.zope.org/Members/hathawsh/Refresh) which helps reload some
(most) products without restarting Zope.

-- Loren