mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Formating and equals()
This commit is contained in:
parent
8a4f0947de
commit
09a6b7e999
1 changed files with 13 additions and 9 deletions
|
@ -16,8 +16,7 @@ import org.eclipse.cdt.debug.core.cdi.CDIException;
|
||||||
*
|
*
|
||||||
* @since Jul 8, 2002
|
* @since Jul 8, 2002
|
||||||
*/
|
*/
|
||||||
public interface ICDIThread extends ICDIObject
|
public interface ICDIThread extends ICDIObject {
|
||||||
{
|
|
||||||
/**
|
/**
|
||||||
* Returns the stack frames contained in this thread. An
|
* Returns the stack frames contained in this thread. An
|
||||||
* empty collection is returned if this thread contains
|
* empty collection is returned if this thread contains
|
||||||
|
@ -27,7 +26,7 @@ public interface ICDIThread extends ICDIObject
|
||||||
* @return a collection of stack frames
|
* @return a collection of stack frames
|
||||||
* @throws CDIException if this method fails. Reasons include:
|
* @throws CDIException if this method fails. Reasons include:
|
||||||
*/
|
*/
|
||||||
ICDIStackFrame[] getStackFrames() throws CDIException;
|
ICDIStackFrame[] getStackFrames() throws CDIException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether this thread is currently suspended.
|
* Returns whether this thread is currently suspended.
|
||||||
|
@ -35,7 +34,7 @@ public interface ICDIThread extends ICDIObject
|
||||||
* @return whether this thread is currently suspended
|
* @return whether this thread is currently suspended
|
||||||
*/
|
*/
|
||||||
boolean isSuspended();
|
boolean isSuspended();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Causes this thread to resume its execution.
|
* Causes this thread to resume its execution.
|
||||||
* Has no effect on a thread that is not suspended.
|
* Has no effect on a thread that is not suspended.
|
||||||
|
@ -43,7 +42,7 @@ public interface ICDIThread extends ICDIObject
|
||||||
* @throws CDIException if this method fails. Reasons include:
|
* @throws CDIException if this method fails. Reasons include:
|
||||||
*/
|
*/
|
||||||
void resume() throws CDIException;
|
void resume() throws CDIException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Causes this thread to suspend its execution.
|
* Causes this thread to suspend its execution.
|
||||||
* Has no effect on an already suspended thread.
|
* Has no effect on an already suspended thread.
|
||||||
|
@ -59,7 +58,7 @@ public interface ICDIThread extends ICDIObject
|
||||||
* @throws CDIException if this method fails. Reasons include:
|
* @throws CDIException if this method fails. Reasons include:
|
||||||
*/
|
*/
|
||||||
void stepOver() throws CDIException;
|
void stepOver() throws CDIException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Steps into the current source line. Can only be called
|
* Steps into the current source line. Can only be called
|
||||||
* when the associated thread is suspended.
|
* when the associated thread is suspended.
|
||||||
|
@ -67,7 +66,7 @@ public interface ICDIThread extends ICDIObject
|
||||||
* @throws CDIException if this method fails. Reasons include:
|
* @throws CDIException if this method fails. Reasons include:
|
||||||
*/
|
*/
|
||||||
void stepInto() throws CDIException;
|
void stepInto() throws CDIException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Steps over the current machine instruction. Can only be called
|
* Steps over the current machine instruction. Can only be called
|
||||||
* when the associated thread is suspended.
|
* when the associated thread is suspended.
|
||||||
|
@ -75,7 +74,7 @@ public interface ICDIThread extends ICDIObject
|
||||||
* @throws CDIException if this method fails. Reasons include:
|
* @throws CDIException if this method fails. Reasons include:
|
||||||
*/
|
*/
|
||||||
void stepOverInstruction() throws CDIException;
|
void stepOverInstruction() throws CDIException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Steps into the current machine instruction. Can only be called
|
* Steps into the current machine instruction. Can only be called
|
||||||
* when the associated thread is suspended.
|
* when the associated thread is suspended.
|
||||||
|
@ -83,7 +82,7 @@ public interface ICDIThread extends ICDIObject
|
||||||
* @throws CDIException if this method fails. Reasons include:
|
* @throws CDIException if this method fails. Reasons include:
|
||||||
*/
|
*/
|
||||||
void stepIntoInstruction() throws CDIException;
|
void stepIntoInstruction() throws CDIException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Continues running until just after function in the current
|
* Continues running until just after function in the current
|
||||||
* stack frame returns. Can only be called when the associated
|
* stack frame returns. Can only be called when the associated
|
||||||
|
@ -92,4 +91,9 @@ public interface ICDIThread extends ICDIObject
|
||||||
* @throws CDIException if this method fails. Reasons include:
|
* @throws CDIException if this method fails. Reasons include:
|
||||||
*/
|
*/
|
||||||
void finish() throws CDIException;
|
void finish() throws CDIException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns true if the threads are the same.
|
||||||
|
*/
|
||||||
|
boolean equals(ICDIThread thead);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue