Debugging support for D - wiki

Iain Buclaw ibuclaw at ubuntu.com
Tue Sep 24 10:28:06 PDT 2013


On 24 September 2013 18:19, Joseph Rushton Wakeling
<joseph.wakeling at webdrake.net> wrote:
> On 24/09/13 00:57, Iain Buclaw wrote:
>>
>> GDB doesn't understand D mangling.  We currently leverage the use of
>> setting pretty-print names for debugging purposes, but you require to
>> put the names in 'quotation.marks' - I will fix this sometime this
>> year... maybe. :)
>
>
> When I asked about the possibility of adding D support on the Qt Creator
> mailing lists, one of my respondents remarked:
>
>> Last time I looked the debugging info produced by some D compilers was
>> pretty broken. E.g. DMD version 2.058 "encoded" the string[] type as
>> "_Array_uns long long". It's hard to base proper debugging on such
>> a foundation.
>
>
> ... are we talking about the same mangling issue here?

What dmd does is not the same as gdc... :)

-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the Digitalmars-d mailing list