public static function trace($trace = null, $addObject = false)
    {
        if (!self::isDebug()) {
            return false;
        }

        $_this = self::i();

        $trace = $trace ? $trace : debug_backtrace($addObject);
        unset($trace[0]);

        $result = $_this->convertTrace($trace, $addObject);

        return $_this->dump($result, '! backtrace !');
    }
public static function trace($trace = null, $addObject = false)
    {
        if (!self::isDebug()) {
            return false;
        }

        $_this = self::i();

        $trace = $trace ? $trace : debug_backtrace($addObject);
        unset($trace[0]);

        $result = $_this->convertTrace($trace, $addObject);

        return $_this->dump($result, '! backtrace !');
    }
public static function trace ( $ trace = null , $ addObject = false ) { if ( ! self :: isDebug ( ) ) { return false ; } $ _this = self :: i ( ) ; $ trace = $ trace ? $ trace : debug_backtrace ( $ addObject ) ; unset ( $ trace [ 0 ] ) ; $ result = $ _this -> convertTrace ( $ trace , $ addObject ) ; return $ _this -> dump ( $ result , '! backtrace !' ) ; }
Get system backtrace in formated view
@param   bool $trace     Custom php backtrace
@param   bool $addObject Show objects in result
@return  JBDump
Get system backtrace in formated view