[rt-users] Debugging templates and scrips
Gerard FENELON
gerard at eve-team.com
Fri Aug 6 09:18:13 EDT 2010
Thanks Ken
that is what I do and what I call a "Stone Age method" ;-)
Actually the first thing I do is copy/paste into vi and go chasing after
misplaced curly brackets
which I have found to be the usual suspect for silent death.
Gerard
On -28163-01--10 20:59, Kenneth Crocker wrote:
> Gerard,
>
> I would add some code in strategic places that create a line in the
> log file. This would allow you to see how far the template went before
> dying.
>
> Kenn
> LBNL
>
> On Thu, Aug 5, 2010 at 10:52 AM, Gerard FENELON <gerard at eve-team.com
> <mailto:gerard at eve-team.com>> wrote:
>
> Hi
>
> does anyone have tips on debugging templates and scrips ?
> I am still using the Stone Age method of adding calls to RT::Logger,
> and I find this method a bit slow.
> In my experience, templates can be a special pain because they can
> die silently.
>
> Thanks
> Gerard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100806/1e1e94b4/attachment.htm>
More information about the rt-users
mailing list