What's wrong with my debugger?

Rainer Schuetze via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Dec 27 01:28:35 PST 2015



On 24.12.2015 14:57, Chris wrote:
> On Thursday, 24 December 2015 at 09:30:24 UTC, Rainer Schuetze wrote:
>> In the locals window, mago displays all instances of variables, but
>> with the same value (which might be some uninitialized value of a
>> different declaration than expected). The Visual Studio debug engine
>> shows different values, though.
>
> Hi, thanks for the reply but not actually, no, if I change the debug
> engine to VS and rebuild I get the same behaviour.

I suspect that the variables are part of a closure. There is bad and 
incomplete debug information emitted by dmd in this case.


More information about the Digitalmars-d-learn mailing list