Ejemplo n.º 1
0
function TpDbgLines($inLines)
{
    if (TpDbgConnect()) {
        $inLines = str_replace(array("\n", "\r"), array("<br>", ""), $inLines);
        $sa = explode("<br>", $inLines);
        foreach ($sa as $line) {
            TpDbgMsg($line);
        }
    }
}
Ejemplo n.º 2
0
 /**
  * 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}");
     }
 }
Ejemplo n.º 3
0
 function Debug($inMsg)
 {
     TpDbgMsg($this->DebugId() . $inMsg . "[" . $this->StackTrace() . "]");
 }