VS2013 with LDC setup

Ronnie via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sat May 30 12:55:54 PDT 2015


On Saturday, 30 May 2015 at 19:34:10 UTC, Ronnie wrote:
> Aha I think I've found the issue (for anyone else).
>
> LDC indeed produces a running executable called in this case 
> Debug\Console1App.exe_cv which produces a "Hello D-World" when 
> run.
>
> Cv2pdb tries to convert to pdb debugging information but errors 
> out with "no codeview debug entries found."
>
> In release mode, no issues compiling or running.
>
> So how do I get ldc2 to generate this debugging info? "-g" 
> doesn't seem to work.
>
> I'm using 0.15.1 beta 1 and LLVM 3.60

Final post on this subject. Solved it finally.

Set the Properties/Debugger to "Mago". That disables the CV2PDB 
call, but still allows you to debug within VS (oddly).


More information about the digitalmars-d-ldc mailing list