How to convert pdb file to xml using mdbg?

804 views Asked by At

How to convert PDB file to XML file? I tried the source from below, but it's taking exe as an input. Is there any opensource converter available?

1

There are 1 answers

0
Wonko On

The ISymbolReader interface from Microsoft needs a metadata token, which can be retrieved from the assembly using Reflection. I don't know a way to read the PDB on its' own - for my purposes, I always have the pdb and the assembly handy, so it hasn't been an issue for me.