mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-21 16:05:25 +02:00
Added CStringValue.toString method foe ease of debugging.
Change-Id: I1a7a243b4f212a69c6af8289d7ca3bf159b759e7
This commit is contained in:
parent
4e01baa83f
commit
52bd79302f
1 changed files with 8 additions and 0 deletions
|
@ -251,4 +251,12 @@ public final class CStringValue implements IValue {
|
||||||
public static IValue unmarshal(short firstBytes, ITypeMarshalBuffer buf) throws CoreException {
|
public static IValue unmarshal(short firstBytes, ITypeMarshalBuffer buf) throws CoreException {
|
||||||
return new CStringValue(buf.getCharArray());
|
return new CStringValue(buf.getCharArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* For debugging only.
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new String(fFixedValue);
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue