www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - cv2pdb 0.12 released

reply Rainer Schuetze <r.sagitario gmx.de> writes:
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
Apr 12 2010
next sibling parent Trass3r <un known.com> writes:
Thanks!
This tool is probably the most helpful one for my D development.
Apr 14 2010
prev sibling parent reply Alex Makhotin <alex bitprox.com> writes:
Rainer Schuetze wrote:
 
 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
May 18 2010
next sibling parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
Hi Alex,

Alex Makhotin wrote:
 Rainer Schuetze wrote:
 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.
 
 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.
 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.
May 18 2010
parent Alex Makhotin <alex bitprox.com> writes:
Rainer Schuetze wrote:

 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
May 18 2010
prev sibling next sibling parent Trass3r <un known.com> writes:
 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.
May 18 2010
prev sibling parent Trass3r <un known.com> writes:
 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.
May 18 2010