mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Hilight changed values for pointers.
This commit is contained in:
parent
a63d1ed0b2
commit
b8f39e8af3
1 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ public abstract class CVariable extends CDebugElement
|
|||
*/
|
||||
public boolean hasValueChanged() throws DebugException
|
||||
{
|
||||
return ( getValue().hasVariables() ) ? false : fChanged;
|
||||
return ( !(((CValue)getValue()).getType() == ICValue.TYPE_POINTER) && getValue().hasVariables() ) ? false : fChanged;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
@ -220,7 +220,7 @@ public abstract class CVariable extends CDebugElement
|
|||
if ( getValue() != null )
|
||||
{
|
||||
((CValue)getValue()).setChanged( changed );
|
||||
if ( !getValue().hasVariables() )
|
||||
if ( !getValue().hasVariables() || ((CValue)getValue()).getType() == ICValue.TYPE_POINTER )
|
||||
{
|
||||
fChanged = changed;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue