1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Added CStringValue.toString method foe ease of debugging.

Change-Id: I1a7a243b4f212a69c6af8289d7ca3bf159b759e7
This commit is contained in:
Sergey Prigogin 2016-10-09 10:37:03 -07:00
parent 4e01baa83f
commit 52bd79302f

View file

@ -251,4 +251,12 @@ public final class CStringValue implements IValue {
public static IValue unmarshal(short firstBytes, ITypeMarshalBuffer buf) throws CoreException {
return new CStringValue(buf.getCharArray());
}
/**
* For debugging only.
*/
@Override
public String toString() {
return new String(fFixedValue);
}
}