mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 21:05:37 +02:00
Use VariableObject.getFullName().
This commit is contained in:
parent
d95d657a19
commit
480c9e4101
1 changed files with 10 additions and 4 deletions
|
@ -304,12 +304,13 @@ public class VariableManager extends SessionObject implements ICDIVariableManage
|
|||
VariableObject vo =
|
||||
new VariableObject(
|
||||
obj.getTarget(),
|
||||
obj.getQualifiedName(),
|
||||
obj.getName(),
|
||||
obj.getFullName(),
|
||||
obj.getStackFrame(),
|
||||
obj.getPosition(),
|
||||
obj.getStackDepth());
|
||||
vo.setCastingArrayStart(start);
|
||||
vo.setCastingArrayEnd(length);
|
||||
vo.setCastingArrayStart(obj.getCastingArrayStart() + start);
|
||||
vo.setCastingArrayEnd(obj.getCastingArrayEnd() + length);
|
||||
return vo;
|
||||
}
|
||||
throw new CDIException("Unknown variable object");
|
||||
|
@ -329,10 +330,15 @@ public class VariableManager extends SessionObject implements ICDIVariableManage
|
|||
VariableObject vo =
|
||||
new VariableObject(
|
||||
obj.getTarget(),
|
||||
obj.getQualifiedName(),
|
||||
obj.getName(),
|
||||
obj.getFullName(),
|
||||
obj.getStackFrame(),
|
||||
obj.getPosition(),
|
||||
obj.getStackDepth());
|
||||
String casting = obj.getCastingType();
|
||||
if (casting != null && casting.length() > 0) {
|
||||
type = "(" + type + ")" + "(" + casting + " )";
|
||||
}
|
||||
vo.setCastingType(type);
|
||||
return vo;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue