1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-06 00:05:59 +02:00

Improved ability to locate source files from moved PDB

This commit is contained in:
Brian Fiete 2023-02-20 14:45:29 -05:00
parent 0aedc37d42
commit d405104757
11 changed files with 162 additions and 8 deletions

View file

@ -250,6 +250,19 @@ namespace IDE
}
gApp.mDebugger.SetSymSrvOptions(mSymCachePath, symbolServerPath, .None);
String remapStr = scope .();
for (var entry in mAutoFindPaths)
{
if (entry.Contains('@'))
{
if (!remapStr.IsEmpty)
remapStr.Append("\n");
remapStr.Append(entry);
}
}
remapStr.Replace('@', '=');
gApp.mDebugger.SetSourcePathRemap(remapStr);
mProfileSampleRate = Math.Clamp(mProfileSampleRate, 10, 10000);
}