You are not logged in Log in Join
You are here: Home » Members » hathawsh » Debugging aid for Zope users

Log in
Name

Password

 
 

Folder icon Debugging aid for Zope users

ZDebug is not compatible with Zope 2.5 and above. Do not use it anymore.

Zope 2.6 will contain improvements that make ZDebug unnecessary.

ZDebug is a collection of patches for Zope that make exceptions more self revealing. The following modules are currently included:

  • DTML Debugger. Provides a detailed analysis of exceptions that occur during the processing of DTML, including a namespace exploder and highlighted source output.
  • A replacement for ZopeSecurityPolicy which provides details on authorization exceptions.

This product slows Zope down somewhat, although it would be possible to update cDocumentTemplate with debugging hooks to recover the loss. Therefore this release is primarily for evaluation purposes, but it has already been used to solve several bugs.

Plans for future improvements include patches for ZPublisher which would display details in authorization exceptions rather than simply returning "NotFound".

See the example output.

Version 0.1.1 corrects a bug with dtml-return and adds a view of the security context stack.

Version 0.2 fixes issues with Zope 2.3.0, uses a generalized and corrected getPathOf() method, and incorporates feedback from Chris Withers, Itai Tavor, and the community. Thanks!

Version 0.2.1 fixes a bad interaction with the sendmail tag.

Version 0.3 is compatible with Zope 2.4.x.

 Title   Type   Size   Modified   Status 
 0.1 Edit object Software Release   2000-09-05 published
 0.1.1 Edit object Software Release   2000-09-07 published
 0.1.2 Edit object Software Release   2000-09-18 published
 0.2 Edit object Software Release   2001-02-12 published
 0.2.1 Edit object Software Release   2001-03-02 published
 0.3 Edit object Software Release   2001-08-20 published