private <T> XValueChildrenList loadFrame(Callable<T> task) throws PyDebuggerException {
    if (!isCommunicationClosed()) {
      return (XValueChildrenList) executeBackgroundTask(
        task,
        true,
        createRuntimeMessage(PyBundle.message("console.getting.frame.variables")),
        "Error in loadFrame():"
      );
    } else {
      return new XValueChildrenList();
    }
  }
private <T> XValueChildrenList loadFrame(Callable<T> task)