Windows 10: Looking for a tool to create a .pdb file.

  1.    30 Oct 2016 #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 System SpecsSystem Spec

  2.    30 Oct 2016 #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 System SpecsSystem Spec


 

Related Threads
Hello. The error is: 0x80070002 0x20016 I tried rewriting the "AllowOSUpgrade" in the registry (a method which was used in Threshold 2), yet not working. I'm running on my computer Windows 10 TH2. Thanks for anyone who may help
Does the Media Creation Tool create a bootable USB or DVD. If not how can I make it bootable? Jim
Hello All, I am running Windows 10 Pro x64 that I installed as a full version (not from the free update, I purchased the full edition from Microsoft). Whenever I get a new OS I like to do a clean install so I used the Microsoft Media Creation...
I am currently running Win7 Ultimate service pack 1 and am trying to create an installation of Win10 on a flash drive before I replace some parts inside my PC that will require an OS refresh. Unfortunately I am stuck at this screen. 48417 I am...
I just wondered if anyone had had any issues creating a bootable USB using the Download Tool with the 9926 .iso? I've tried multiple times now but it just gets stuck at 94% and I end up having to close the program down via Task Manager. Someone I...
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 11:51.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums