D tooling: perf tool, gdb, unit tests, gcov, gprof

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 21 12:50:02 PDT 2014


On 9/21/2014 10:38 AM, Scott Wilson wrote:
> Me again. Looking at support for standard gnu tooling in D. For
> debugging theres http://wiki.dlang.org/Debugging according to
> that gdb support is good. Any comments on the quality & stability
> &c.
>
> We also use perf, gprof, gcov. Is there support in D for those.
> Or support for D in those. :-) After searching for it it I found
> http://stackoverflow.com/questions/20570478/demangling-d-symbols-when-profiling-d-programs-with-perf
>
> so support looks okay but not perfect. GDC seems really
> integrated if Im to believe
> http://dconf.org/2013/talks/buclaw.pdf. Please reply if there are
> more references. Thankyou.

The dmd compiler can profile your code by merely throwing the -profile switch. 
It can also generate coverage analysis reports by using the -cov switch.



More information about the Digitalmars-d mailing list