@Override
  public XExecutionStack @NotNull [] getExecutionStacks() {
    final Collection<PyThreadInfo> threads = myDebugProcess.getThreads();
    if (threads.size() < 1) {
      return XExecutionStack.EMPTY_ARRAY;
    }
    else {
      XExecutionStack[] stacks = new XExecutionStack[threads.size()];
      int i = 0;
      for (PyThreadInfo thread : threads) {
        stacks[i++] = new PyExecutionStack(myDebugProcess, thread, getThreadIcon(thread));
      }
      return stacks;
    }
  }
@Override
  public XExecutionStack @NotNull [] getExecutionStacks()