How do you guys debug large programs?

Timothee Cour thelastmammoth at gmail.com
Tue May 28 01:22:05 PDT 2013


On Tue, May 28, 2013 at 12:32 AM, nazriel <spam at dzfl.pl> wrote:

> On Monday, 27 May 2013 at 19:55:57 UTC, Gary Willoughby wrote:
>
>> This is quite an open ended question but i wondered how you guys debug
>> your D programs (i'm talking about stepping through code, setting
>> breakpoints, etc). The lack of nice IDE's with integrated debuggers is
>> worrying when working with D but up until now i haven't need one.
>>
>> Now i've started to write much larger programs, i'm wondering which
>> debuggers do you use? Especially using Linux.
>>
>
> If I suspect what block of code may be causing a problem:
>
> 1) printf's / asserts
> 2) comment out
> 3) Duck partner
>
> When it is getting worse:
> 4) GDB
>
>
> GDB plays nice with D so it is smooth.
>

not on OSX, where demangling doesn't work (but the OP mentioned linux).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20130528/f9a5e5f4/attachment.html>


More information about the Digitalmars-d-learn mailing list