Looking for a tool to create a .pdb file.


  1. Posts : 48
    windows 10 home
       #1

    Looking for a tool to create a .pdb file.


    Hi,
    I'm developing some tools that produce Win32 image files (.exe or .dll), and I want to supply debug information so that a user can use the image with a debugger.
    Does anyone know a tool that can write pdb files? Presumably from Microsoft, but possibly from some third party.
    I think I've found enough information on how a PDB is arranged, so that I could generate the various data streams, although it would be nice to have an API that could insert individual symbols, similarly to dbghelp.dll except that it puts symbol info into the PDB instead of extracting it from the PDB.
    But even if I implement all this myself, I'm still faced with the problem of generating the checksum for the image that has to be placed in the PDB. My understanding is that if the PDB's checksum doesn't match the image being debugged, then the debugger won't use the PDB.

    Note: if this post should go somewhere else, please feel free to move it. Also, since this is not specific to Windows 10, is there a forum that would be visited by Windows users / developers in general? I don't want to post the same message to the 7 and 8 forums.

    Thanks,
    Michael
      My Computer


  2. Posts : 48
    windows 10 home
    Thread Starter
       #2

    I found something called Microsoft.DiaSymReader.Native, which is a package I can obtain from Microsoft's NuGet.

    Anyone have any comments about this package or experience with it?

    It purports to be both a reader and a writer, despite its name.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:19.
Find Us




Windows 10 Forums