in teamcity-symbol-agent/src/main/java/jetbrains/buildServer/symbols/PdbFilePatcherAdapterImpl.java [43:58]
public Collection<File> getReferencedSourceFiles(final File symbolsFile) throws IOException {
final ExecResult result = mySrcToolExe.dumpSources(symbolsFile, myBuildLogger);
if (result.getExitCode() < 0) {
throw new IOException(String.format("Failed to dump sources from symbols file %s: %s", symbolsFile, result));
}
String[] outLines = result.getOutLines();
ArrayList<File> resultCollection = new ArrayList<File>();
for(int index = 0; index < outLines.length - 1; index++) {
final String line = outLines[index];
if (line != null) {
resultCollection.add(new File(line));
}
}
return resultCollection;
}