@Internal
  public static @NotNull String dumpEdtStackTrace(ThreadInfo @NotNull [] threadInfos) {
    StringWriter writer = new StringWriter();
    if (threadInfos.length > 0) {
      StackTraceElement[] trace = threadInfos[0].getStackTrace();
      printStackTrace(writer, trace);
    }
    return writer.toString();
  }
@Internal
  public static @NotNull String dumpEdtStackTrace(ThreadInfo @NotNull [] threadInfos)