You are here: Home Plone products ZPTDebugger

ZPTDebugger (1.1.2)

1
by Olha Pelishok last modified 2008-05-20
0.0
0.0
0.0
0.0
Released on 2007-12-18 by Lukasz Lakomy for Plone 1, Plone 2.0, Plone 2.1, Plone 2.5, Zope 2.7, Zope 2.8, Zope 2.9, Zope 2.10 under GPL - GNU General Public License available for All platforms.
Software development stage: stable
ZPTDebugger is a Zope 2 product for templates debugging. It shows all Python and TAL expressions used during rendering.

About

Using ZPTDebuger you can easily see the values of each Python expression used in template and all other templates used by it. You can see the expression, its value, value type and time used to execute it.

This product is instantiated as simple Zope object but inside there is quite complicated algorithm. The expression evaluation is done very simple but methods that generates structure for nice tree-like view are more complicated. So unit tests are essential. How to use them see in Unit tests chapter. Product will monkey patch TALInterpreter and PageTemplates.Expressions but debugging functionality is disabled by default. It is enabled only during debugger call. But despite that it should't be used on live instances.

Document Actions
Powered by Plone