When you enable the FirePHP plugin, you can use fb() function in Joomla simply to dump the variable or trace the program.
Common Usage:
Code: Select all
(1) fb($var); //dump value
(2) fb($var,FirePHP::TRACE); //trace program, simple use fb(1,FirePHP::TRACE);
Code: Select all
if(!class_exists('FirePHP')) require JPATH_ROOT.'/plugins/system/firephp/FirePHPCore/fb.php';