Posts Tagged ‘eZ Enhanced Debug’

What’s new in eZEnhancedDebug 1.2 ?

April 26th, 2010

I just released ezenhanceddebug 1.2, here are the new things I added :

Compatible with eZ Publish 4.3

If you read the changelog in the eZ Publish 4.3 release, you will notice :

- Implemented enhancement #16216: Deprecate templateInit()

Which is documented by

- kernel/common/template.php: templateInit()
Function will be removed in a future version, use eZTemplate::factory() instead.

This change has been implemented.

KCacheGrind support

There is two new configuration directives in ezenhanceddebug.ini.append.php :

[ProfilerSettings]
Profiler=enabled
ProfilerOutputDir=/tmp/ezenhanceddebug

If [ProfilerSettings]/Profiler is set to enabled, then anytime you generate a page you will get a KCacheGrind compatible file in [ProfilerSettings]/ProfilerOutputDir/url_alias_of_the_page.out

Here is how it looks like :

Each function follows the pattern : <template_name>::<template_function_or_operator>

There is no callgraph available, this is currently not implemented. Due to the anarchic way of calling templates from eZTemplate, it is very difficult to deduct a valid callgraph, maybe I will add this in the future if I find exactly what I am looking for in the template engine.

The full eZEnhancedDebug extension is now hosted at GitHub .

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)