Skip to main content
summaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorJohn Cortell2009-05-13 18:31:57 -0400
committerJohn Cortell2009-05-13 18:31:57 -0400
commit1605abc3d3807ee20d4ddafb9dbabc3e1d1e0929 (patch)
tree1a0bb376fa34520e80bb7321b6190a88ca0c0bae /debug
parent78550c0982cfb0b297795ba0892f60209cdbb4c7 (diff)
downloadorg.eclipse.cdt-1605abc3d3807ee20d4ddafb9dbabc3e1d1e0929.tar.gz
org.eclipse.cdt-1605abc3d3807ee20d4ddafb9dbabc3e1d1e0929.tar.xz
org.eclipse.cdt-1605abc3d3807ee20d4ddafb9dbabc3e1d1e0929.zip
Fixed 276205. Changing the format of an array expression element has no effect
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/VariableFormatActionDelegate.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/VariableFormatActionDelegate.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/VariableFormatActionDelegate.java
index ab7f7b0bd6..0dd1072b30 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/VariableFormatActionDelegate.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/VariableFormatActionDelegate.java
@@ -16,7 +16,7 @@ import java.util.List;
import org.eclipse.cdt.debug.core.model.CVariableFormat;
import org.eclipse.cdt.debug.core.model.ICVariable;
-import org.eclipse.cdt.debug.internal.core.model.CValue;
+import org.eclipse.cdt.debug.internal.core.model.AbstractCValue;
import org.eclipse.cdt.debug.ui.CDebugUIPlugin;
import org.eclipse.core.runtime.MultiStatus;
import org.eclipse.debug.core.DebugException;
@@ -98,8 +98,8 @@ public class VariableFormatActionDelegate implements IObjectActionDelegate {
} else if (o instanceof IWatchExpression) {
IWatchExpression expr = (IWatchExpression) o;
IValue value = expr.getValue();
- if (value instanceof CValue) {
- ICVariable parent = ((CValue) value).getParentVariable();
+ if (value instanceof AbstractCValue) {
+ ICVariable parent = ((AbstractCValue) value).getParentVariable();
if (parent != null) {
list.add(parent);
}

Back to the top