Click to Rate and Give Feedback
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Debug Interface Access SDK 
Debug Interface Access SDK 

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 (Debug Interface Access SDK)

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.

API Reference (Debug Interface Access SDK)

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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Can I Use DIA to Get a Variable's Type from PDB Files.      Little Sun ... Thomas Lee   |   Edit   |   Show History

These days , I am working on how to get variable's type from PDB files. Now I can get a varibale of basic type, but I found these APIs can't get a variable of struct or class type, or a type with array, or a pointer more than one.

[tfl - 08 07 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at

http://www.microsoft.com/communities/newsgroups/en-us/ . You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
Visual Studio :
http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C &
SQL Server :
http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C &
.NET Framework :
http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C &

Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker