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:
parent
0aedc37d42
commit
d405104757
11 changed files with 162 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue