in teamcity-symbol-agent/src/main/java/jetbrains/buildServer/symbols/SymbolsIndexer.java [316:329]
private File getSrcSrvHomeDir(@NotNull BuildAgentConfiguration agentConfiguration) {
final Map<String,String> agentConfigParameters = agentConfiguration.getConfigurationParameters();
String winDbgHomeDir = agentConfigParameters.get(WinDbgToolsDetector.WIN_DBG_PATH);
if(winDbgHomeDir == null){
LOG.debug("WinDbg tools are not mentioned in agent configuration.");
return null;
}
File srcSrvHomeDir = new File(winDbgHomeDir, X64_SRCSRV);
if (srcSrvHomeDir.isDirectory()) return srcSrvHomeDir;
srcSrvHomeDir = new File(winDbgHomeDir, X86_SRCSRV);
if (srcSrvHomeDir.isDirectory()) return srcSrvHomeDir;
LOG.debug("Failed to find Source Server tools home directory under WinDbg tools home directory detected on path " + winDbgHomeDir);
return null;
}