Thread overview | ||||||
---|---|---|---|---|---|---|
|
July 29, 2013 Current debugger options | ||||
---|---|---|---|---|
| ||||
Hi there! Is there a debugger you would recommend that understands D (demangling, etc) which runs under OS X? (or otherwise...) What are you using? A patched gdb? a normal gdb? Any llvm version? (sometimes it seems not to recognize stack frames in my D code) Or just writeln? Thanks! |
July 29, 2013 Re: Current debugger options | ||||
---|---|---|---|---|
| ||||
Posted in reply to Luís Marques | Am 29.07.2013 12:48, schrieb "Luís Marques" <luismarques@gmail.com>":
> Hi there!
>
> Is there a debugger you would recommend that understands D (demangling,
> etc) which runs under OS X? (or otherwise...)
>
> What are you using? A patched gdb? a normal gdb? Any llvm version? (sometimes it seems not to recognize stack frames in my D code) Or just writeln?
>
> Thanks!
I use gdb and most of the time the mangling is easy to understand, if
not I send it through the commandline-tool "ddemangle".
Also kdevelop as an amazing gdb integration which works with D! Hover
variables, showing content, browesable variables in ever stackframe,
really worth a try!
|
July 29, 2013 Re: Current debugger options | ||||
---|---|---|---|---|
| ||||
Posted in reply to David | On Monday, 29 July 2013 at 11:00:27 UTC, David wrote:
> Am 29.07.2013 12:48, schrieb "Luís Marques" <luismarques@gmail.com>":
>> Hi there!
>>
>> Is there a debugger you would recommend that understands D (demangling,
>> etc) which runs under OS X? (or otherwise...)
>>
>> What are you using? A patched gdb? a normal gdb? Any llvm version?
>> (sometimes it seems not to recognize stack frames in my D code) Or just
>> writeln?
>>
>> Thanks!
>
> I use gdb and most of the time the mangling is easy to understand, if
> not I send it through the commandline-tool "ddemangle".
> Also kdevelop as an amazing gdb integration which works with D! Hover
> variables, showing content, browesable variables in ever stackframe,
> really worth a try!
A brief article on that would be really cool. Or at least something in the wiki.
|
July 29, 2013 Re: Current debugger options | ||||
---|---|---|---|---|
| ||||
Posted in reply to Luís Marques | On Monday, 29 July 2013 at 10:48:13 UTC, Luís Marques wrote:
> Hi there!
>
> Is there a debugger you would recommend that understands D (demangling, etc) which runs under OS X? (or otherwise...)
>
> What are you using? A patched gdb? a normal gdb? Any llvm version? (sometimes it seems not to recognize stack frames in my D code) Or just writeln?
>
> Thanks!
I've been using cgdb on Mac OS which is gdb but with a curses ui. On Linux I use DDD but its not ideal as it looks terrible and crashes etc. I've also tried something called affinic debugger on Mac OS but again it's just a ui on gdb and is slow.
D could do with someone spending a bit of time polishing up a preferred debugger currently one doesn't really exist.
|
Copyright © 1999-2021 by the D Language Foundation