On Tue, May 28, 2013 at 12:32 AM, nazriel <spam@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).