Tree (@NotNull Pair<XValue, String> descriptor) { final XDebuggerTree tree = new XDebuggerTree(myProject, myProvider, myPosition, XDebuggerActions.INSPECT_TREE_POPUP_GROUP, myMarkers); final XValueNodeImpl root = new XValueNodeImpl(tree, null, descriptor.getSecond(), descriptor.getFirst()); tree.setRoot(root, true); tree.setSelectionRow(0); // expand root on load tree.expandNodesOnLoad(node -> node == root); return tree; }