Lines 15-23
Link Here
|
15 |
import java.util.Iterator; |
15 |
import java.util.Iterator; |
16 |
import java.util.List; |
16 |
import java.util.List; |
17 |
|
17 |
|
|
|
18 |
import org.eclipse.cdt.debug.core.CDIDebugModel; |
19 |
import org.eclipse.cdt.debug.core.cdi.CDIException; |
18 |
import org.eclipse.cdt.debug.core.cdi.model.ICDIVariable; |
20 |
import org.eclipse.cdt.debug.core.cdi.model.ICDIVariable; |
19 |
import org.eclipse.cdt.debug.core.model.ICExpressionEvaluator; |
21 |
import org.eclipse.cdt.debug.core.model.ICExpressionEvaluator; |
20 |
import org.eclipse.cdt.debug.core.model.ICValue; |
22 |
import org.eclipse.cdt.debug.core.model.ICValue; |
|
|
23 |
import org.eclipse.core.runtime.IStatus; |
24 |
import org.eclipse.core.runtime.Status; |
21 |
import org.eclipse.debug.core.DebugException; |
25 |
import org.eclipse.debug.core.DebugException; |
22 |
import org.eclipse.debug.core.model.IVariable; |
26 |
import org.eclipse.debug.core.model.IVariable; |
23 |
|
27 |
|
Lines 64-73
Link Here
|
64 |
/* (non-Javadoc) |
68 |
/* (non-Javadoc) |
65 |
* @see org.eclipse.debug.core.model.IValue#getReferenceTypeName() |
69 |
* @see org.eclipse.debug.core.model.IValue#getReferenceTypeName() |
66 |
*/ |
70 |
*/ |
67 |
public String getReferenceTypeName() throws DebugException |
71 |
public String getReferenceTypeName() throws DebugException { |
68 |
{ |
72 |
try { |
69 |
return null; |
73 |
return getCDIVariable().getTypeName(); |
70 |
} |
74 |
} catch (CDIException e) { |
|
|
75 |
throw new DebugException(new Status(IStatus.ERROR, CDIDebugModel.getPluginIdentifier(), |
76 |
DebugException.TARGET_REQUEST_FAILED, e.getMessage(), null)); |
77 |
} |
78 |
} |
71 |
|
79 |
|
72 |
/* (non-Javadoc) |
80 |
/* (non-Javadoc) |
73 |
* @see org.eclipse.debug.core.model.IValue#getValueString() |
81 |
* @see org.eclipse.debug.core.model.IValue#getValueString() |