Bug 13641 – cannot create PDB file

Status
RESOLVED
Resolution
INVALID
Severity
enhancement
Priority
P1
Component
visuald
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2014-10-20T15:31:00Z
Last change time
2014-10-21T06:16:09Z
Assigned to
nobody
Creator
AskDQuestion

Comments

Comment #0 by AskDQuestion — 2014-10-20T15:31:55Z
Project Property → Compiler → Debug → Debug Info The Default item is 'Symbolic(suitable for Mago)'. But I use the vs's item : 'Symbolic(suitable for VS debug engine)' Then get the bad info: Converting debug information... H:\GitHub\dfl2\example\Debug\dflTEST.pdb: cannot create PDB file Building Debug\dflTEST.exe failed! Please look at the detail in dflTEST.buildlog.html. Thank you.
Comment #1 by r.sagitario — 2014-10-20T18:02:08Z
(In reply to FrankLIKE from comment #0) > But I use the vs's item : 'Symbolic(suitable for VS debug engine)' I suspect you get the issue with both options. > Please look at the detail in dflTEST.buildlog.html. Please attach this file here. Some ideas: - some application might still have a handle to the PDB file (e.g. some debugger, you could check this with Process Explorer -> Find Handle) - the PDB service might fail to start. Do you see a process mspdbsrv.exe in Process Explorer? What version of Visual Studio are you using?
Comment #2 by AskDQuestion — 2014-10-21T06:10:01Z
> Some ideas: > - some application might still have a handle to the PDB file (e.g. some > debugger, you could check this with Process Explorer -> Find Handle) > - the PDB service might fail to start. Do you see a process mspdbsrv.exe in > Process Explorer? > > What version of Visual Studio are you using? Thank you! It's the answer to run the 'mspdsrv.exe' that path is 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\mspdsrv.exe' Thank you very much!
Comment #3 by r.sagitario — 2014-10-21T06:16:09Z
(In reply to FrankLIKE from comment #2) > It's the answer to run the 'mspdsrv.exe' that path is 'C:\Program Files > (x86)\Microsoft Visual Studio 10.0\Common7\IDE\mspdsrv.exe' You should not need to run this program manually. Adding 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE' to the executable paths at 'Tools->Options->Projects and Solutions->Visual D Settings->DMD Directories' might also help.