-
Notifications
You must be signed in to change notification settings - Fork 744
Open
Description
I want to view my sources with perfview's annotations. In the past it worked fine, but now it doesn't. The UI just seems to be trying to find the pdb. The log window contains the following snippet, which seems to indicate what the problem is, but not how to solve it:
Started: Fetching Source code for MyDll!Foo.Managers.Foo+<>c__DisplayClass100_1.<Bar>b__5(value class System.ValueTuple`3<value class Foo.Month,value class System.Nullable`1<value class Foo.Foo2>,value class Foo.Foo3>)
Maximum count for MyDll!Foo.Managers.Foo+<>c__DisplayClass100_1.<Bar>b__5(value class System.ValueTuple`3<value class Foo.Month,value class System.Nullable`1<value class Foo.Foo2>,value class Foo.Foo3>) = 199
GetSourceLine: Getting source line for code address index 00015AC1
GetSourceLine: address for code address is 7fff790ddabe module MyDll
GetSourceLine: Found JITTed method Foo.Managers.Foo+<>c__DisplayClass100_1.<Bar>b__5(value class System.ValueTuple`3<value class Foo.Month,value class System.Nullable`1<value class Foo.Foo2>,value class Foo.Foo3>), index 00005FAD token 60012ad
GetSourceLine: Found an il-to-native mapping MethodIdx 00005FAD Start 7fff790dd500 Len b6d
GetSourceLine: NativeOffset 5be ILOffset = 198
FindSymbolFilePath: *{ Locating PDB C:\Projects\MyApp\MyDll\obj\Debug\net48\MyDll.pdb GUID af916a23-0588-4677-8af2-6848c7b0dec9 Age 1 Version
FindSymbolFilePath: Pdb is for DLL C:\Projects\MyApp\binbin\Debug\net48\Foo.UnitTests\MyDll.dll
FindSymbolFilePath: Checking relative to DLL path C:\Projects\MyApp\binbin\Debug\net48\Foo.UnitTests\MyDll.dll
FindSymbolFilePath: Aborting pdbMatch of C:\Projects\MyApp\binbin\Debug\net48\Foo.UnitTests\MyDll.pdb Exception thrown: The calling thread must be STA, because many UI components require this.
FindSymbolFilePath: Probed file location C:\Projects\MyApp\binbin\Debug\net48\Foo.UnitTests\symbols.pri\retail\dll\MyDll.pdb does not exist
FindSymbolFilePath: Probed file location C:\Projects\MyApp\binbin\Debug\net48\Foo.UnitTests\symbols\retail\dll\MyDll.pdb does not exist
FindSymbolFilePath: Aborting pdbMatch of C:\Projects\MyApp\MyDll\obj\Debug\net48\MyDll.pdb Exception thrown: The calling thread must be STA, because many UI components require this.
FindSymbolFilePath: Probed file location C:\tools\perfview\MyDll.pdb does not exist
FindSymbolFilePath: Probed file location MyDll.pdb does not exist
FindSymbolFilePath: Searching Symbol Server C:\Symbols.
See the line containing "The calling thread must be STA, because many UI components require this.". There is a pdb file at the path mentioned in the line.
FWIW, the assembly is for .net framework 4.8.
leonvandermeerCopilot
Metadata
Metadata
Assignees
Labels
No labels