Discussion:
cv2pdb 0.12 released
Rainer Schuetze
2010-04-13 06:56:05 UTC
Permalink
cv2pdb is a converter of DMD CodeView debug information to PDB debug
format to make it accessible to current Windows tools and debuggers like
Visual Studio and WinDbg.

The latest version 0.12 of cv2pdb is needed to support the modified
implementation of associative arrays in DMD 2.043.

cv2pdb can be downloaded at

http://www.dsource.org/projects/cv2pdb

Please note, that you will have to add command line switch "-D 2.043" to
adjust the resulting debug info (no compiler version embedded in the
binary).

Rainer
Trass3r
2010-04-14 20:09:41 UTC
Permalink
Thanks!
This tool is probably the most helpful one for my D development.
Alex Makhotin
2010-05-18 15:57:16 UTC
Permalink
Post by Rainer Schuetze
cv2pdb is a converter of DMD CodeView debug information to PDB debug
format to make it accessible to current Windows tools
Hi,

dsource.org is not responding for me.
However I was able to download it at night time.
First when run it reported that it needed the mspdb80.dll
Copied the dll to the directory where cv2pdb extracted.
Then the next error: cannot create PDB file.
I wish it could be more descriptive.

Rainer, thank you for the utility.
I'll look into the source on what may cause the error on my Windows 7.
Are you still working on the utility?
--
Alex Makhotin,
the founder of BITPROX,
http://bitprox.com
Rainer Schuetze
2010-05-18 18:21:40 UTC
Permalink
Hi Alex,
Post by Alex Makhotin
Post by Rainer Schuetze
cv2pdb is a converter of DMD CodeView debug information to PDB debug
format to make it accessible to current Windows tools
Hi,
dsource.org is not responding for me.
However I was able to download it at night time.
First when run it reported that it needed the mspdb80.dll
Copied the dll to the directory where cv2pdb extracted.
Then the next error: cannot create PDB file.
I wish it could be more descriptive.
cv2pdb normally uses the VS registration path to locate the DLL and its
dependent files.
mspdb80.dll itself depends on the mspdbsrv.exe which needs at least
msobj80.dll, mspdbcore.dll and msvcr90.dll (this is what process
explorer tells me).

please post, if you can isolate the necessary files, so I can update the
project-site with the information.
Post by Alex Makhotin
Rainer, thank you for the utility.
I'll look into the source on what may cause the error on my Windows 7.
windows7 should not be a problem, but it does not work with vs2010, as
it provides only an incompatible mspdb100.dll.
Post by Alex Makhotin
Are you still working on the utility?
yes, cv2pdb is now also installed with VisualD, where the installation
is done automatically. There have not been a lot of changes to cv2pdb
lately, though.
Trass3r
2010-05-18 19:32:45 UTC
Permalink
Post by Rainer Schuetze
windows7 should not be a problem, but it does not work with vs2010, as
it provides only an incompatible mspdb100.dll.
Any plans for that? Just updated to VS2010 and don't have the old files
anymore.
Trass3r
2010-05-18 19:42:24 UTC
Permalink
Post by Trass3r
Any plans for that? Just updated to VS2010 and don't have the old files
anymore.
Ah, thankfully they haven't been deleted after all.
It worked with copying the files you mentioned.

Nevertheless VS2010 support would be nice.
Alex Makhotin
2010-05-18 22:53:35 UTC
Permalink
Post by Rainer Schuetze
cv2pdb normally uses the VS registration path to locate the DLL and its
dependent files.
mspdb80.dll itself depends on the mspdbsrv.exe which needs at least
msobj80.dll, mspdbcore.dll and msvcr90.dll (this is what process
explorer tells me).
please post, if you can isolate the necessary files, so I can update the
project-site with the information.
windows7 should not be a problem, but it does not work with vs2010, as
it provides only an incompatible mspdb100.dll.
I have indeed installed the VS20100 Express(C++/C#) + SDK + Debugging
Tools for Windows.
But, I don't know if the files present on disk are from
the express installation because I don't have anything else installed
except mingw32+msys.
Anyway, the files are in C:\Program Files (x86)\Microsoft Visual Studio
9.0\Common7\IDE
mspdbsrv.exe
msobj80.dll
mspdb80.dll
mspdbcore.dll

Yes, I copied all the files, including the exe file, which is as I
understand is a COM in-process server. The PDB file generated
successfully, however I didn't checked the validity of it yet.
So as it supposed to work in my case I don't need the registration(not
to pollute my registry) by regsvr32, just copied the files.

Thank you for reply.
--
Alex Makhotin,
the founder of BITPROX,
http://bitprox.com
Loading...