| 128 | } |
| 129 | |
| 130 | void 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 | |
| 148 | void DebugManager::SetOutputFilterFlags(BfOutputFilterFlags outputFilterFlags) |
| 149 | { |
no outgoing calls
no test coverage detected