FileDocCategorySizeDatePackage
StackTrace.javaAPI DocAndroid 1.5 API1826Wed May 06 22:41:02 BST 2009com.android.hit

StackTrace

public class StackTrace extends Object

Fields Summary
int
mSerialNumber
int
mThreadSerialNumber
StackFrame[]
mFrames
StackTrace
mParent
int
mOffset
Constructors Summary
private StackTrace()


      
        
    
public StackTrace(int serial, int thread, StackFrame[] frames)

        mSerialNumber = serial;
        mThreadSerialNumber = thread;
        mFrames = frames;
    
Methods Summary
public final voiddump()

        final int N = mFrames.length;
        
        for (int i = 0; i < N; i++) {
            System.out.println(mFrames[i].toString());
        }
    
public final com.android.hit.StackTracefromDepth(int startingDepth)

        StackTrace result = new StackTrace();
        
        if (mParent != null) {
            result.mParent = mParent;
        } else {
            result.mParent = this;
        }
        
        result.mOffset = startingDepth + mOffset;
        
        return result;