[Zope] Zope stability

Michel Pelletier michel@digicool.com
Wed, 8 Dec 1999 14:52:59 -0500


> -----Original Message-----
> From: Teodor Cimpoesu [mailto:teo@digiro.net]
> Sent: Wednesday, December 08, 1999 11:26 AM
> Cc: zope@zope.org
> Subject: Re: [Zope] Zope stability
> 
> 
> Hi all,

<snip> 

> > Michel Pelletier wrote:
> > to integrate them with Zope, I've never gotten either to work well
> > debugging Zope.

> is idle IDLE? 

yeah.

> [sic] There are only CVS snapshots [iirc] for this beast
> and I'll have to build it from source to give it a try :\
> 
> But anyways, you guys @ DC what debugging tool are using when hacking
> into Zope? 

The Zope debugger, which is based on pdb.

My most common form of debugging is to find the point in the code I want
to stop at, and insert the code:

import pdb
pdb.set_trace()

restart Zope, hit a page, and the controlling terminal is now in the
debugger (you must be in -D debug mode in order to prevent Zope from
detaching from the terminal)
 
-Michel