www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11537] New: cv2pdb not work

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11537

           Summary: cv2pdb not work
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: VisualD
        AssignedTo: nobody puremagic.com
        ReportedBy: ehysta gmail.com



Created an attachment (id=1291)
project archive

Just create VisualD default console project with VS 2010, 12, 13 and I never
made cv2pdb works.

Project files in attachment.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 18 2013
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11537


Rainer Schuetze <r.sagitario gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario gmx.de



PST ---
I guess there are some paths missing to run the mspdb*.dll correctly.

If you have all thos versions of VS installed, cv2pdb checks VS2012 first,
loading mspdb110.dll from <vs11-path>\Common7\IDE, which tries to start
mspdbsrv.exe and also needs msobj110.dll from the same path. So these must be
found in the search path aswell.

For VS2010, the respective files are mspdb100.dll, mspdbsrv.exe and
msobj100.dll.

Please check whether this might be the problem?

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 19 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11537





 If you have all thos versions of VS installed, cv2pdb checks VS2012 first,
wrong: tryLoadMsPdb80(); tryLoadMsPdb100(); tryLoadMsPdb110(); And it found mine mspdb80.dll first. Thanks, now it works. But it would be nice to change order of laoding. Or remove mspdb8 if it cannot create pdb properly. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 20 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11537




PST ---


 If you have all thos versions of VS installed, cv2pdb checks VS2012 first,
wrong:
Sorry, must have been my bad memory.
 Thanks, now it works. But it would be nice to change order of laoding.
Yeah, hould be better, though the newer the version, the more experimental the cv2pdb support for it.
 
 Or remove mspdb8 if it cannot create pdb properly.
I guess the problem is that when it picks up mspdb8.dll, the PATH still contains entries for another VS version, so it cannot loads it's respective dlls or even starts an incompatible mspdbsrv.exe. Maybe this could be fixed by changing the environment before loading the mspdb*.dll. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 20 2013
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11537




PST ---
I have updated the search strategy in cv2pdb, checking PATH first, then trying
to load the latest DLL, only if it has a mspdbsrv.exe in the same folder. Try
it in
https://github.com/D-Programming-Language/visuald/releases/tag/v0.3.38beta1

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 29 2013