public PdbType getPdbType()

in teamcity-symbol-agent/src/main/java/jetbrains/buildServer/symbols/tools/JetSymbolsExe.java [63:76]


  public PdbType getPdbType(File symbolsFile, BuildProgressLogger buildLogger) {
    final GeneralCommandLine commandLine = new GeneralCommandLine();
    commandLine.setExePath(myExePath.getPath());
    commandLine.addParameter(GET_PDB_TYPE_CMD);
    commandLine.addParameter(symbolsFile.getAbsolutePath());

    final ExecResult execResult = executeCommandLine(commandLine, buildLogger);
    if (execResult.getExitCode() == 0) {
      return parsePdbType(execResult.getOutLines(), buildLogger);
    } else {
      buildLogger.error("Cannot parse PDB type.");
      return PdbType.Undefined;
    }
  }