Karen Krull
Karen Krull

Reputation: 23

How to know where the pdb files is looking for source code

I have an external dll and a pdb file from C# code. I have the source code downloaded on my computer. In Visual Studio, under modules, Symbol status is: Symbol loaded for that specific dll. But User code is: N/A.

And I can't step into the functions in that dll. How do I know where to put the source code so the pdb finds it? Is the pdb looking the C# source file in a specific directory and is there a way to find out where?

Upvotes: 2

Views: 1467

Answers (1)

hidayat
hidayat

Reputation: 9753

There is a tool called SrcTool.exe that is installed with the WinSDK. Srctool.exe utility lists all files indexed within the .pdb file.

SrcTool.exe -r filename.pdb will print the source file paths.

Upvotes: 3

Related Questions