Portable PDB Symbols
Starting with version 1.0.2007.01003 of the Windows Debugger, Portable PDB Symbols are supported. Portable symbols can be used to provide information to all of the commonly used debugger commands that use symbols, such as x (Examine Symbols), dt (Display Type) and dx (Display Debugger Object Model Expression). For general information on the Portable PDB format, see Portable PDB on GitHub.
The Portable PDB (Program Database) format
The Portable PDB (Program Database) format describes an encoding of debugging information produced by compilers of Common Language Infrastructure (CLI) languages and consumed by debuggers and other tools. The format is based on the ECMA-335 Partition II metadata standard. It extends its schema while using the same physical table and stream layouts and encodings.
The physical layout of the data is described in the ECMA-335-II Chapter 24 and the Portable PDB debugging metadata format introduces no changes to the fundamental structure. For more information on ECMA-335 see, Standard ECMA-335 Common Language Infrastructure.
For complete information on the portable PDB format, see Portable PDB v1.0: Format Specification.
Code sample to read portable PDB files
For a code sample that reads portable PDB files, see Microsoft.DiaSymReader.PortablePdb on GitHub.
This reader of Portable PDBs implements DiaSymReader interfaces such as ISymUnmanagedReader and ISymUnmanagedBinder. For more information about those .NET interfaces see Diagnostics Symbol Store (Unmanaged API Reference).