Visual D Debugger "complaints" (Mago?)

Rainer Schuetze via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Mon Mar 27 11:05:23 PDT 2017



On 27.03.2017 18:50, Rainer Schuetze wrote:
> To help with this issue, Visual D has the project option "build and use
> local version of phobos with same compiler options" on the linker page.
> It also allows debugging calls into druntime/phobos.
>
> Unfortunately, this build is broken with recent dmd versions. Currently
> investigating...

Should be fixed for dmd 2.073 in this build:

https://ci.appveyor.com/project/rainers/visuald/build/1.0.115/job/7r384dme5sw1pnq2/artifacts

Unfortunately, GUID having an initializer with all zeroes causes all 
references to the init property to be optimized away. The only way I 
found to drag the debug info in is to place this code somewhere at 
global scope.

extern extern(C) __gshared int D4core3sys7windows8basetyps4GUID6__initZ;
__gshared ref_GUID_init = &D4core3sys7windows8basetyps4GUID6__initZ;


More information about the Digitalmars-d-ide mailing list