return ((PHPThread) element).getStackVariables();
} else if (element instanceof PHPStackFrame) {
return ((PHPStackFrame) element).getStackVariables();
} else if (element instanceof Expression) {
Expression eExp = (Expression) element;
ExpressionValue value = eExp.getValue();
Expression[] eChildren = value.getChildren();
if (eChildren == null)
return new Expression[0];
if (eChildren.length == 0) {
ExpressionsManager expressionManager = fTarget
.getExpressionManager();
expressionManager.update(eExp, 1);
value = eExp.getValue();
eChildren = value.getChildren();
if (eChildren == null)
eChildren = new Expression[0];
}
return eChildren;
}