Hi Developers
Just wanted to make a notice that I released a very early version of a module integrating www.firephp.org debugging into cmsms. It allows you to easily write debugging messages to the firebug-console, which especially should prove helpful for ajax-development, but also other areas. I'm looking forward to using it myself, but please be aware that it is very early. For instance the trace method of debugging seems to produce an unwanted recursion under some circumstances.
Please feel free to suggest improvements.
Regards
Morten/Silmarillion
FirePHP debugging module released
- Silmarillion
- Dev Team Member
- Posts: 483
- Joined: Sun Jan 02, 2005 9:10 pm
- Location: Denmark
Re: FirePHP debugging module released
Thanks for that module, Silmaril.
I'm trying to use it with a UDT so I can use it for debugging in templates. Here's the UDT I wrote, but I'm not sure if it works yet.
I'm trying to use it with a UDT so I can use it for debugging in templates. Here's the UDT I wrote, but I'm not sure if it works yet.
Code: Select all
// Params: message='string', msgtype='message','info','warning','error','trace', variables=variable array
global $gCms;
$firephpmodule = $gCms->modules['firePHPDebug']['object'];
if ($firephpmodule) {
//Module found
$firephpmodule->ConsoleMessage('log UDT',$params['message'], $params['msgtype'], $params['variables']);
} //else Module not found