共用方式為


Debug Interface Access SDK

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The Microsoft Debug Interface Access Software Development Kit (DIA SDK) provides access to debug information stored in program database (.pdb) files generated by Microsoft postcompiler tools. Because the format of the .pdb file generated by the postcompiler tools undergoes constant revision, exposing the format is impractical. Using the DIA API, you can develop applications that search for and browse debug information stored in a .pdb file. Such applications could, for example, report stack trace-back information and analyze performance data.

In This Section

Getting Started
Gives an overview of the DIA SDK features and specifies where the DIA SDK is installed as well as the required header and library files.

Querying the .Pdb File
Provides instructions on how to use the DIA API to query the .pdb file.

Symbols and Symbol Tags
Discusses how symbols and symbol tags are used in the DIA API.

Reference
Contains the interfaces, methods, enumerations, and structures of the DIA API.

Dia2dump Sample
Illustrates how to use the DIA API to search for and browse debug information.

Dia2dump.cpp Source File
Source code used by Dia2dump Sample to demonstrate the DIA API.