mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Changed the implementation of the 'refresh' method of CVariable.
This commit is contained in:
parent
7e5e732224
commit
e1950ef13f
2 changed files with 6 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue