protected String fTypeName;
private boolean fhasChanged;
- public XDebugAbstractValue(XDebugStackFrame frame, Node varNode) {
+ public XDebugAbstractValue(XDebugStackFrame frame, Node varNode) {
super((XDebugTarget) frame.getDebugTarget());
fTypeName = PHPDebugUtils.getAttributeValue(varNode,"type");
return fhasChanged;
}
- public void sethasChanged(boolean hasChanged) {
- fhasChanged = hasChanged;
- }
-
- public void setChildVariables(IVariable[] newChildVariables) {
- fVariables = newChildVariables;
- }
-
/* (non-Javadoc)
* @see org.eclipse.debug.core.model.IValue#getReferenceTypeName()
*/
public class XDebugValue extends XDebugAbstractValue {
public XDebugValue(XDebugStackFrame variable, Node value) {
super(variable, value);
- fValueString = "uninitialized";
- fTypeName = "unknown";
}
public void renderValueString(String data) {
+ fValueString = "uninitialized";
}
public boolean verifyValue(String expression) {
*/
public class XDebugVariable extends XDebugElement implements IVariable {
private String fName;
- private String fFullName;
private XDebugStackFrame fFrame;
private XDebugAbstractValue fValue;
private String fFacet;
fFrame = frame;
}
- String address = PHPDebugUtils.getAttributeValue(property,"address");
-
fName = PHPDebugUtils.getAttributeValue(property,"name");
if ("".equals(fName)) {
- fName = address;
+ fName = PHPDebugUtils.getAttributeValue(property,"address");
}
- fFullName = PHPDebugUtils.getAttributeValue(property,"fullname");
+ fFacet = PHPDebugUtils.getAttributeValue(property, "facet");
String typeName = PHPDebugUtils.getAttributeValue(property, "type");
- fFacet = PHPDebugUtils.getAttributeValue(property, "facet");
-
if (typeName.equals("int") )
fValue = new XDebugIntValue(frame, property);
else if (typeName.equals("float") )
* @see org.eclipse.debug.core.model.IVariable#getName()
*/
public String getName() throws DebugException {
- if (fFullName.endsWith("]"))
+ /*if (fFullName.endsWith("]"))
return fFullName.substring(fFullName.lastIndexOf('['));
- else
+ else*/
return fName;
}
public String getVisibility() {
return fFacet;
}
-
- public String toString() {
- return null;
- }
-
- public String getFullName() {
- return fFullName;
- }
}
\ No newline at end of file