1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +02:00

Bug 94905: Error examining structure contents in debugger. The structure's elements should inherit the enablement flag from parents.

This commit is contained in:
Mikhail Khodjaiants 2005-05-12 15:27:52 +00:00
parent af17efc7a8
commit fcf978593f
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-05-12 Mikhail Khodjaiants
Bug 94905: Error examining structure contents in debugger.
The structure's elements should inherit the enablement flag from parents.
* CVariable.java
2005-04-25 Mikhail Khodjaiants
Update the source search path of the underlyuing debugger when the source
containers are changed.

View file

@ -344,7 +344,7 @@ public class CVariable extends AbstractCVariable implements ICDIEventListener {
fName = cdiVariableObject.getName();
createOriginal( cdiVariableObject );
}
fIsEnabled = !isBookkeepingEnabled();
fIsEnabled = ( parent instanceof AbstractCValue ) ? ((AbstractCValue)parent).getParentVariable().isEnabled() : !isBookkeepingEnabled();
getCDISession().getEventManager().addEventListener( this );
}