Search in sources :

Example 1 with ElixirVariableBinding

use of org.elixir_lang.debugger.node.ElixirVariableBinding in project intellij-elixir by KronicDeth.

the class ElixirStackFrame method computeChildren.

@Override
public void computeChildren(@NotNull XCompositeNode node) {
    XValueChildrenList myVariables = new XValueChildrenList(myTraceElement.getBindings().size());
    for (ElixirVariableBinding binding : myTraceElement.getBindings()) {
        myVariables.add(binding.getName(), getVariableValue(binding.getValue()));
    }
    node.addChildren(myVariables, true);
}
Also used : ElixirVariableBinding(org.elixir_lang.debugger.node.ElixirVariableBinding) XValueChildrenList(com.intellij.xdebugger.frame.XValueChildrenList)

Aggregations

XValueChildrenList (com.intellij.xdebugger.frame.XValueChildrenList)1 ElixirVariableBinding (org.elixir_lang.debugger.node.ElixirVariableBinding)1