mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Correct presentation of the full names of variables that contain pointers.
This commit is contained in:
parent
08ab887f65
commit
e52ae1fe5a
1 changed files with 34 additions and 25 deletions
|
@ -73,6 +73,11 @@ public abstract class CVariable extends CDebugElement
|
|||
*/
|
||||
private String fName = null;
|
||||
|
||||
/**
|
||||
* The full name of this variable.
|
||||
*/
|
||||
private String fQualifiedName = null;
|
||||
|
||||
private Boolean fEditable = null;
|
||||
|
||||
/**
|
||||
|
@ -777,6 +782,8 @@ public abstract class CVariable extends CDebugElement
|
|||
* @see org.eclipse.cdt.debug.core.model.ICVariable#getQualifiedName()
|
||||
*/
|
||||
public String getQualifiedName() throws DebugException
|
||||
{
|
||||
if ( fQualifiedName == null )
|
||||
{
|
||||
LinkedList list = new LinkedList();
|
||||
list.add( this );
|
||||
|
@ -816,7 +823,9 @@ public abstract class CVariable extends CDebugElement
|
|||
sb.append( vars[i].getName() );
|
||||
sb.append( ')' );
|
||||
}
|
||||
return sb.toString();
|
||||
fQualifiedName = sb.toString();
|
||||
}
|
||||
return fQualifiedName;
|
||||
}
|
||||
|
||||
protected boolean isAccessSpecifier() throws DebugException
|
||||
|
|
Loading…
Add table
Reference in a new issue