1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Hilight changed values for pointers.

This commit is contained in:
Mikhail Khodjaiants 2002-09-26 19:19:18 +00:00
parent a63d1ed0b2
commit b8f39e8af3

View file

@ -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;
}