diff --git a/debug/org.eclipse.cdt.debug.core/ChangeLog b/debug/org.eclipse.cdt.debug.core/ChangeLog index 3d645817491..d773f960d8b 100644 --- a/debug/org.eclipse.cdt.debug.core/ChangeLog +++ b/debug/org.eclipse.cdt.debug.core/ChangeLog @@ -1,3 +1,7 @@ +2002-12-17 Mikhail Khodjaiants + Changed the implementation of the 'refresh' method of CVariable. + * CVariable.java + 2002-12-16 Mikhail Khodjaiants Added support of variable formatting. * ICValue.java: new type - TYPE_UNKNOWN diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java index 4e5308557f5..5da9edab16b 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java @@ -388,13 +388,7 @@ public abstract class CVariable extends CDebugElement */ public void refresh() throws DebugException { - try - { - getCDIVariable().setValue( getCDIVariable().getValue().getValueString() ); - } - catch( CDIException e ) - { - targetRequestFailed( e.getMessage(), null ); - } + ((ICValue)getValue()).setChanged( true ); + fireChangeEvent( DebugEvent.STATE ); } }