diff --git a/debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java b/debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java index ff33ef026be..a3ff75eaf64 100644 --- a/debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java +++ b/debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java @@ -36,19 +36,16 @@ public interface ICDIThread extends ICDIExecuteStep, ICDIExecuteResume, ICDISusp ICDIStackFrame[] getStackFrames() throws CDIException; /** - * Returns the stack frames contained in this thread between the specified - * fromIndex, inclusive, and toIndex, exclusive. + * Returns the stack frames contained in this thread whose levels + * are between the two arguments(inclusive). * An empty collection is returned if this thread contains * no stack frames, or is not currently suspended. Stack frames * are returned in top down order. * * @return a collection of stack frames * @throws CDIException if this method fails. Reasons include: - * @throws IndexOutOfBoundsException for an illegal endpoint index value - * (fromIndex < 0 || toIndex > size || fromIndex > toIndex). - */ - ICDIStackFrame[] getStackFrames(int fromIndex, int len) throws CDIException; + ICDIStackFrame[] getStackFrames(int lowFrame, int highFrame) throws CDIException; /** * Returns the depth of the stack frames.