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. *