function TpDbgLines($inLines) { if (TpDbgConnect()) { $inLines = str_replace(array("\n", "\r"), array("<br>", ""), $inLines); $sa = explode("<br>", $inLines); foreach ($sa as $line) { TpDbgMsg($line); } } }
/** * Output a single line message to the debugging console. * @param string Message to output. * @param boolean True to prepend a full stack trace to the debug output. * Otherwise only the calling function is identified. */ function Debug($inMsg, $inFullTrace = false) { //if (($this->App->Debug) && ($this->DebugFlag)) if ($this->Page->Debug) { TpDbgMsg($this->DebugId() . "[" . $this->StackTrace($inFullTrace) . "]"); TpDbgMsg(" ==> {$inMsg}"); } }
function Debug($inMsg) { TpDbgMsg($this->DebugId() . $inMsg . "[" . $this->StackTrace() . "]"); }