diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java index bfd8401c537..5fb407984fa 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java @@ -7,6 +7,7 @@ package org.eclipse.cdt.debug.core.cdi.model; import org.eclipse.cdt.debug.core.cdi.CDIException; +import org.eclipse.cdt.debug.core.cdi.model.type.ICDIType; /** * @@ -43,6 +44,14 @@ public interface ICDIVariable extends ICDIVariableObject { */ String getTypeName() throws CDIException; + /** + * Returns the type of data this variable is declared. + * + * @return the type of data this variable is declared + * @throws CDIException if this method fails. Reasons include: + */ + ICDIType getType() throws CDIException; + /** * Returns the value of this variable. *