rasjani
rasjani

Reputation: 7970

Loading PDB symbols from symbol server's correct path?

In environment where we produce multiple builds in x intervals and store the resulting symbol files in server, is there a way to associate the correct path of the symbols for that particular build?

Upvotes: 0

Views: 727

Answers (1)

magicandre1981
magicandre1981

Reputation: 28836

You can use the symbol server. The association between a DLL/EXE and the PDB is done by the linker who adds a GUID in the DLL/EXE and PDB to match both files and now Debuggers or Profilers like WPR/WPA use this GUID to find the correct PDBs:

When the linker generates .dll, executable, and PDB files, it stores identical GUIDs in each file. The GUID is used by tools to determine if a given PDB file matches a DLL or an executable file. If you alter a DLL or an executable file—by using a resource editor or copy protection encoding, or by altering its version information—the GUID is updated and the debugger cannot load the PDB file. For this reason, it's very important to avoid manipulating the DLL or executable file after it is created by the linker.

Upvotes: 2

Related Questions