public void afterCollectingFiles()

in teamcity-symbol-agent/src/main/java/jetbrains/buildServer/symbols/SymbolsIndexer.java [206:228]


  public void afterCollectingFiles(@NotNull List<ArtifactsCollection> artifacts) {
    super.afterCollectingFiles(artifacts);
    if (isIndexingDisabled()) {
      LOG.debug("Symbols and sources indexing skipped.");
      return;
    }

    final String blockName = "Indexing symbol sources";
    try {
      myProgressLogger.logMessage(DefaultMessagesInfo.createBlockStart(blockName, "symbol-server"));

      LOG.debug("Searching for symbol files in publishing artifacts.");
      processPdbArtifacts(getArtifactPathsByFileExtension(artifacts, PDB_FILE_EXTENSION));

      LOG.debug("Searching for binary files in publishing *.exe artifacts.");
      processBinaryArtifacts(artifacts, EXE_FILE_EXTENSION);

      LOG.debug("Searching for binary files in publishing *.dll artifacts.");
      processBinaryArtifacts(artifacts, DLL_FILE_EXTENSION);
    } finally {
      myProgressLogger.logMessage(DefaultMessagesInfo.createBlockEnd(blockName, "symbol-server"));
    }
  }