Visual Studio still says "Source Not Available"
Closed this issue · 3 comments
Hi! I'm trying to use your app to get debugging symbols for the GPGME C library, so I can debug some issues with my usage of it from C#.
I've compiled my own version of libgpgme-11.dll
with debug symbols intact, and have used cv2pdb
to generate a PDB. Visual Studio says:
Loaded 'C:\Program Files (x86)\GnuPG\bin\libgpgme-11.dll'. Symbols loaded.
Which makes me think that it has found the PDB file.
However, It still says:
Source Not Available
Source information is missing from the debug information for this module
when I try to debug the library:
Do you know what could be causing it?
I've attached the original DLL, DLL output by cv2pdb, and the PDB file here: libgpgme-11.zip
There is only debug information for the mingw runtime in the original DLL. You can check by dumping the output of objdump.exe -W libgpgme-11-original.dll
and searching for DW_TAG_compile_unit
.
I guess something went wrong when building a debug version of that DLL.
Thanks for your reply, @rainers! I'm following up on the GPG mailing list to determine what's up: https://lists.gnupg.org/pipermail/gnupg-devel/2019-February/034189.html
I guess this is not a cv2pdb issue so I'm going to close this, but I'll reopen it if I still have issues once I figure out how to get the proper symbols in the DLL.