Index: src/org/eclipse/cdt/debug/internal/core/model/CArrayPartitionValue.java =================================================================== RCS file: /home/tools/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CArrayPartitionValue.java,v retrieving revision 1.14 diff -u -r1.14 CArrayPartitionValue.java --- src/org/eclipse/cdt/debug/internal/core/model/CArrayPartitionValue.java 25 Jun 2004 14:47:08 -0000 1.14 +++ src/org/eclipse/cdt/debug/internal/core/model/CArrayPartitionValue.java 2 Aug 2004 17:12:12 -0000 @@ -15,9 +15,13 @@ import java.util.Iterator; import java.util.List; +import org.eclipse.cdt.debug.core.CDIDebugModel; +import org.eclipse.cdt.debug.core.cdi.CDIException; import org.eclipse.cdt.debug.core.cdi.model.ICDIVariable; import org.eclipse.cdt.debug.core.model.ICExpressionEvaluator; import org.eclipse.cdt.debug.core.model.ICValue; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; import org.eclipse.debug.core.DebugException; import org.eclipse.debug.core.model.IVariable; @@ -64,10 +68,14 @@ /* (non-Javadoc) * @see org.eclipse.debug.core.model.IValue#getReferenceTypeName() */ - public String getReferenceTypeName() throws DebugException - { - return null; - } + public String getReferenceTypeName() throws DebugException { + try { + return getCDIVariable().getTypeName(); + } catch (CDIException e) { + throw new DebugException(new Status(IStatus.ERROR, CDIDebugModel.getPluginIdentifier(), + DebugException.TARGET_REQUEST_FAILED, e.getMessage(), null)); + } + } /* (non-Javadoc) * @see org.eclipse.debug.core.model.IValue#getValueString()