. * * For more information, contact Colosa Inc, 2566 Le Jeune Rd., * Coral Gables, FL, 33134, USA, or email info@colosa.com. * */ /** * New Debugger interface * * @author Erik A. O. * @Date Wed Mar 17th. 2010 */ G::LoadClass('case'); //variables $oApp= new Cases(); $aFields = $oApp->loadCase($_SESSION['APPLICATION']); $aStoredVarNames = array_keys($aFields['APP_DATA']); $aVariables = Array(); for ($i=0; $i". strtolower($aTrigger['TIME'])."
"; $cnt = 0; if (isset($aTrigger['TRIGGERS_NAMES'])) { foreach ($aTrigger['TRIGGERS_NAMES'] as $name) { $t_code = $aTrigger['TRIGGERS_VALUES'][$cnt]['TRI_WEBBOT']; //$t_code = str_replace('"', '\'',$t_code); //$t_code = addslashes($t_code); $t_code = Only1br($t_code); $triggers_name[] = $name; $triggers_code[] = $t_code; $cnt++; } } } else { $triggers_onfly = " No triggers found ".strtolower($t_time).""; } } //errors $DEBUG_POST = array_unique($_SESSION['TRIGGER_DEBUG']['ERRORS']); ///// function Only1br($string) { return preg_replace("/(\r\n)+|(\n|\r)+/", "
", $string); } ?>
Processmaker - Debugger
Triggers

0) {?> $trigger) {?>
# Name  
    
Variables
$aVariable) {?>
NameValue
   
0) {?>
Errors
Error ', '',$DEBUG_POST[$i]['ERROR']);?>
Fatal error ', '',$DEBUG_POST[$i]['FATAL']); ?>
No errors reported
"; foreach ($a as $k => $v) { echo ""; } echo "
 $k"; expandVarView($v, "{$name}_{$k}"); echo "
"; } else { echo ($a=='')? ' ': " $a"; } }