From bed0f1da442291ca2c28808fa389f295eaae67ac Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Fri, 22 Oct 2004 17:23:18 +0000 Subject: [PATCH] 2004-10-24 Alain Magloire Provide a context for ICDITarget.evaluateExpressionTtoString() * cdi/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java --- debug/org.eclipse.cdt.debug.core/ChangeLog | 4 ++++ .../cdt/debug/core/cdi/model/ICDITarget.java | 14 +++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/debug/org.eclipse.cdt.debug.core/ChangeLog b/debug/org.eclipse.cdt.debug.core/ChangeLog index 6648d21b171..01ae2c5cdcf 100644 --- a/debug/org.eclipse.cdt.debug.core/ChangeLog +++ b/debug/org.eclipse.cdt.debug.core/ChangeLog @@ -1,3 +1,7 @@ +2004-10-24 Alain Magloire + Provide a context for ICDITarget.evaluateExpressionTtoString() + * cdi/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java + 2004-10-22 Mikhail Khodjaiants Fire the suspend event for the current thread on the target creation. * CDebugTarget.java diff --git a/debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java b/debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java index bdde53bdaa3..fd7aa8754f3 100644 --- a/debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java +++ b/debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java @@ -38,7 +38,8 @@ public interface ICDITarget extends ICDIThreadGroup, ICDISessionObject { /** * Evaluates the expression specified by the given string. * Returns the evaluation result as a String. - * + * + * @deprecated * @param - expression string to be evaluated * @return the result of the evaluation * @throws CDIException if this method fails. Reasons include: @@ -46,6 +47,17 @@ public interface ICDITarget extends ICDIThreadGroup, ICDISessionObject { String evaluateExpressionToString(String expressionText) throws CDIException; + /** + * Evaluates the expression specified by the given string. + * Returns the evaluation result as a String. + * + * @param - expression string to be evaluated + * @return the result of the evaluation + * @throws CDIException if this method fails. Reasons include: + */ + String evaluateExpressionToString(ICDIStackFrame context, String expressionText) + throws CDIException; + /** * Returns whether this target is terminated. *