diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java index 22ec1ae370c..c4a749ee73a 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java @@ -167,6 +167,14 @@ public interface ICDITarget extends ICDIObject { */ void suspend() throws CDIException; + /** + * Steps to the next return statement in the current scope. Can + * only be called when the associated thread is suspended. + * + * @throws CDIException if this method fails. Reasons include: + */ + void stepReturn() throws CDIException; + /** * Steps over the current source line. Can only be called * when the associated target is suspended. diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java index b582f405f50..8b37eb35283 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java @@ -51,6 +51,14 @@ public interface ICDIThread extends ICDIObject { */ void suspend() throws CDIException; + /** + * Steps to the next return statement in the current scope. Can + * only be called when the associated thread is suspended. + * + * @throws CDIException if this method fails. Reasons include: + */ + void stepReturn() throws CDIException; + /** * Steps over the current source line. Can only be called * when the associated thread is suspended.