mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 03:53:21 +02:00
The 'type' argument of the 'getVariableObjectAsArray' method shouldn't be null.
This commit is contained in:
parent
8b9da1bd68
commit
437bb002d3
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2003-08-11 Mikhail Khodjaiants
|
||||||
|
* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/ArrayValue.java:
|
||||||
|
The 'type' argument of the 'getVariableObjectAsArray' method shouldn't be null.
|
||||||
|
|
||||||
2003-08-11 Mikhail Khodjaiants
|
2003-08-11 Mikhail Khodjaiants
|
||||||
* src/org/eclipse/cdt/debug/mi/core/cdi/variableManager.java
|
* src/org/eclipse/cdt/debug/mi/core/cdi/variableManager.java
|
||||||
Mistype in the 'CheckType' method.
|
Mistype in the 'CheckType' method.
|
||||||
|
|
|
@ -56,7 +56,7 @@ public class ArrayValue extends DerivedValue implements ICDIArrayValue {
|
||||||
ICDITarget target = getTarget();
|
ICDITarget target = getTarget();
|
||||||
Session session = (Session) (target.getSession());
|
Session session = (Session) (target.getSession());
|
||||||
ICDIVariableManager mgr = session.getVariableManager();
|
ICDIVariableManager mgr = session.getVariableManager();
|
||||||
ICDIVariableObject vo = mgr.getVariableObjectAsArray(variable, null, index, length);
|
ICDIVariableObject vo = mgr.getVariableObjectAsArray(variable, variable.getTypeName(), index, length);
|
||||||
return mgr.createVariable(vo).getValue().getVariables();
|
return mgr.createVariable(vo).getValue().getVariables();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue