Forums / Suggestions / More specific debug information at errors

More specific debug information at errors

Author Message

Tore Skobba

Wednesday 17 December 2003 2:42:23 am

Hi

When debuging I often face the problem of discovering where the error is? For instace right now I am getting this error:

Error: eZTemplate Dec 17 2003 11:33:24
Cannot retrieve attribute of a boolean

However, actually discovering the whereabout of this error can be quite time consuming (which template and where in the template!). So why not in debug mode do the following:

1: Write out the template name and the line nr. generating the error.
2: Write out the code probably generating the error (include perhapes the line before and after).

I have noticed that sometimes 1 is done, but sometimes not.

Cheers
Tore

Gunnstein Lye

Wednesday 17 December 2003 9:18:21 am

This is difficult, because the templates are compiled and cached. But more helpful debug info is planned.