MCPcopy Create free account
hub / github.com/beefytech/Beef / SetSourceServerCacheDir

Method SetSourceServerCacheDir

IDEHelper/DebugManager.cpp:130–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void DebugManager::SetSourceServerCacheDir()
131{
132#ifdef BF_PLATFORM_WINDOWS
133 AutoCrit autoCrit(mCritSect);
134
135 WCHAR appDataPath[MAX_PATH] = { 0 };
136 SHGetFolderPath(NULL, CSIDL_LOCAL_APPDATA | CSIDL_FLAG_CREATE, NULL, 0, appDataPath);
137 mSymSrvOptions.mSourceServerCacheDir = UTF8Encode(appDataPath);
138 mSymSrvOptions.mSourceServerCacheDir += "\\SourceServer";
139
140 if (mSymSrvOptions.mFlags & BfSymSrvFlag_TempCache)
141 {
142 mSymSrvOptions.mSourceServerCacheDir += "\\temp";
143 RecursiveDeleteDirectory(mSymSrvOptions.mSourceServerCacheDir);
144 }
145#endif
146}
147
148void DebugManager::SetOutputFilterFlags(BfOutputFilterFlags outputFilterFlags)
149{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected