How to create a .MAP file from a .PDB file

SamB picture SamB · Mar 16, 2010 · Viewed 7.9k times · Source

I would like to create a simple .MAP file listing addresses and symbol names from a PDB file. My natural inclination was to look for a tool named "pdb2map", but most of the results I get for that appear to refer to a sample program from the CD included with Debugging Applications for Microsoft .NET and Microsoft Windows, which unfortunately is not also posted on the 'net.

Anyone know a good tool for this? Thanks.

Answer

Alex O picture Alex O · Jul 9, 2010

If you have both the application.exe and the application.pdb files, put them in the same directory and run:

dumpbin /map application.exe > application.map

dumpbin comes with Visual Studio and probably with other tools as well.