mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Clear the value string if the target supports passive variable updating.
This commit is contained in:
parent
26bde110fa
commit
2b0840e29a
1 changed files with 7 additions and 0 deletions
|
@ -19,6 +19,7 @@ import java.util.List;
|
|||
import org.eclipse.cdt.core.IAddress;
|
||||
import org.eclipse.cdt.core.IAddressFactory;
|
||||
import org.eclipse.cdt.debug.core.cdi.CDIException;
|
||||
import org.eclipse.cdt.debug.core.cdi.model.ICDITargetConfiguration2;
|
||||
import org.eclipse.cdt.debug.core.cdi.model.ICDIValue;
|
||||
import org.eclipse.cdt.debug.core.cdi.model.ICDIVariable;
|
||||
import org.eclipse.cdt.debug.core.cdi.model.type.ICDICharValue;
|
||||
|
@ -180,6 +181,12 @@ public class CValue extends AbstractCValue {
|
|||
fValueString = null;
|
||||
resetStatus();
|
||||
}
|
||||
else {
|
||||
if (getCDITarget().getConfiguration() instanceof ICDITargetConfiguration2 &&
|
||||
((ICDITargetConfiguration2)getCDITarget().getConfiguration()).supportsPassiveVariableUpdate())
|
||||
fValueString = null;
|
||||
}
|
||||
|
||||
Iterator it = fVariables.iterator();
|
||||
while( it.hasNext() ) {
|
||||
((AbstractCVariable)it.next()).setChanged( changed );
|
||||
|
|
Loading…
Add table
Reference in a new issue