Visual D Debugger "complaints" (Mago?)

Rainer Schuetze via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Sat Apr 1 08:19:09 PDT 2017



On 28.03.2017 01:57, StarGrazer wrote:
> On Monday, 27 March 2017 at 18:05:23 UTC, Rainer Schuetze wrote:
>>
>>
>> On 27.03.2017 18:50, Rainer Schuetze wrote:
>>> [...]
>>
>> 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;
>
> None of this worked for me ;/

"not working" means it built the "private" phobos library with debug 
information and your code compiled and linked with the above snippet, 
but debug info was still missing?


More information about the Digitalmars-d-ide mailing list