@Override
  public void update(@NotNull AnActionEvent event) {
    if (XDebuggerTreeActionBase.getSelectedNode(event.getDataContext()) != null) {
      Holder.TREE_ACTION.update(event);
    }
    else {
      super.update(event);
    }
  }
@Override
  public void update(@NotNull AnActionEvent event)