A PDB file dumper and C++ wrapper library for the Microsoft Debug Information (DIA) 2.0 SDK.
Andrew, Thanks for sharing this excellent library ! It saved my life ... There is one issue with version 0.8: when the DiaSource object is created with NoRegCreate it returns BSTRs that must be deallocated with LocalFree. because the string is preceded with a 4 byte length field, the pointer past to LocalFree must be decremented 2 WORDS: LocalFree(bstrName - 2). stackoverflow.com/questions/16095367/dia-x64-localfree Another msdia140.dll flaw that I found out is that the library is not thread safe. Even when each thread creates its own DiaSource objects and each object is accessing another pdb library, they spuriously return wrong strings. The only reliable way to access multiple pdb files in parallel is to spawn a separate process for each file. WR, Kees