mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-13 19:25:38 +02:00
Fixed 276205. Changing the format of an array expression element has no effect
This commit is contained in:
parent
78550c0982
commit
1605abc3d3
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue