Issue #1275 debugging locals fix

This commit is contained in:
Jindra Petřík
2016-08-28 08:53:23 +02:00
parent d22a166163
commit 3d06f796b0

View File

@@ -381,11 +381,15 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener<ABC
}
private void reloadChildren() {
InGetVariable igv = Main.getDebugHandler().getVariable(parentId, thisVar.name, true);
childs = new ArrayList<>();
childTraits = new ArrayList<>();
InGetVariable igv = Main.getDebugHandler().getVariable(parentId, thisVar.name, true);
if (thisVar.vType != VariableType.FUNCTION || ((thisVar.flags & VariableFlags.HAS_GETTER) > 0)) {
thisVar = igv.parent;
if (parentId != 0) {
thisVar = igv.parent;
}
}
Variable curTrait = null;