src/xPDO/xPDO.php
public function getDebugBacktrace() {
        $backtrace= array ();
        foreach (debug_backtrace() as $levelKey => $levelElement) {
            foreach ($levelElement as $traceKey => $traceElement) {
                if ($traceKey == 'object' && $traceElement instanceof Om\xPDOObject) {
                    $backtrace[$levelKey][$traceKey]= $traceElement->toArray('', true);
                } elseif ($traceKey == 'object') {
                    $backtrace[$levelKey][$traceKey]= get_class($traceElement);
                } else {
                    $backtrace[$levelKey][$traceKey]= $traceElement;
                }
            }
        }
        return $backtrace;
    }
public function getDebugBacktrace() {
        $backtrace= array ();
        foreach (debug_backtrace() as $levelKey => $levelElement) {
            foreach ($levelElement as $traceKey => $traceElement) {
                if ($traceKey == 'object' && $traceElement instanceof Om\xPDOObject) {
                    $backtrace[$levelKey][$traceKey]= $traceElement->toArray('', true);
                } elseif ($traceKey == 'object') {
                    $backtrace[$levelKey][$traceKey]= get_class($traceElement);
                } else {
                    $backtrace[$levelKey][$traceKey]= $traceElement;
                }
            }
        }
        return $backtrace;
    }
public function getDebugBacktrace ( ) { $ backtrace = array ( ) ; foreach ( debug_backtrace ( ) as $ levelKey => $ levelElement ) { foreach ( $ levelElement as $ traceKey => $ traceElement ) { if ( $ traceKey == 'object' && $ traceElement instanceof Om \ xPDOObject ) { $ backtrace [ $ levelKey ] [ $ traceKey ] = $ traceElement -> toArray ( '' , true ) ; } elseif ( $ traceKey == 'object' ) { $ backtrace [ $ levelKey ] [ $ traceKey ] = get_class ( $ traceElement ) ; } else { $ backtrace [ $ levelKey ] [ $ traceKey ] = $ traceElement ; } } } return $ backtrace ; }
Returns an abbreviated backtrace of debugging information.

This function returns just the fields returned via xPDOObject::toArray()
on xPDOObject instances, and simply the class name for other objects, to
reduce the amount of unnecessary information returned.

@return array The abbreviated backtrace.
Returns an abbreviated backtrace of debugging information .