From ce4762cf9316437a301864a0c621c217a21814d0 Mon Sep 17 00:00:00 2001 From: Mikhail Khodjaiants Date: Tue, 20 Aug 2002 18:26:48 +0000 Subject: [PATCH] Added the 'stepReturn' method. --- .../org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java | 8 ++++++++ .../org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java | 8 ++++++++ 2 files changed, 16 insertions(+) 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.