Visual D Debugger "complaints" (Mago?)

Rainer Schuetze via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Mon Mar 27 09:50:54 PDT 2017



On 26.03.2017 19:49, StarGrazer wrote:
> On Sunday, 26 March 2017 at 15:45:47 UTC, Rainer Schuetze wrote:
>>
>>
>> On 22.03.2017 22:13, StarGrazer wrote:
>>> On Sunday, 19 June 2016 at 08:06:55 UTC, Rainer Schuetze wrote:
>>>> [...]
>>>
>>> Has anything like this been added yet?  I would like to be able to see
>>> the GUID value in the debugger, but it is not showing up...
>>
>> No, nothing added to that respect. You should be able to view a GUID,
>> though. It could be a case of debug info missing from a library (see
>> https://issues.dlang.org/show_bug.cgi?id=4014).
>
> How would I find out? All I know is that GUID and some other things show
> up with as {}, which is very uninformative.

Actually, phobos and druntime are built without debug information, and 
dmd does not generate corresponding debug info for code that uses 
structs declared by the libraries.

Even if you rebuild druntime and phobos with debug information, you 
might hit the issue mentioned above. A workaround should be to actually 
reference GUID.init somewhere, as the debug info is only linked in when 
the init property is referred to.

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...


More information about the Digitalmars-d-ide mailing list