1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fix for ClassCastException in CStackFrame.

This commit is contained in:
Mikhail Khodjaiants 2003-06-23 19:35:45 +00:00
parent f61006c9fe
commit cf576425cb
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2003-06-23 Mikhail Khodjaiants
Fix for ClassCastException in CStackFrame.
* CStackFrame.java
2003-06-20 Mikhail Khodjaiants
Variable bookkeeping (phase 0.1).
* ICDTLaunchConfigurationConstants.java: add a new attribute - ATTR_DEBUGGER_ENABLE_VARIABLE_BOOKKEEPING.

View file

@ -17,7 +17,6 @@ import org.eclipse.cdt.debug.core.cdi.ICDILocation;
import org.eclipse.cdt.debug.core.cdi.event.ICDIEvent;
import org.eclipse.cdt.debug.core.cdi.event.ICDIEventListener;
import org.eclipse.cdt.debug.core.cdi.model.ICDIStackFrame;
import org.eclipse.cdt.debug.core.cdi.model.ICDIVariable;
import org.eclipse.cdt.debug.core.cdi.model.ICDIVariableObject;
import org.eclipse.cdt.debug.core.model.IRestart;
import org.eclipse.cdt.debug.core.model.IResumeWithoutSignal;
@ -145,7 +144,7 @@ public class CStackFrame extends CDebugElement
Iterator newOnes = locals.iterator();
while( newOnes.hasNext() )
{
fVariables.add( new CModificationVariable( this, (ICDIVariable)newOnes.next() ) );
fVariables.add( new CModificationVariable( this, (ICDIVariableObject)newOnes.next() ) );
}
}