How do you guys debug large programs?

nazriel spam at dzfl.pl
Tue May 28 00:32:17 PDT 2013


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.


More information about the Digitalmars-d-learn mailing list