Discussion:
D tooling: perf tool, gdb, unit tests, gcov, gprof
Scott Wilson via Digitalmars-d
2014-09-21 17:38:40 UTC
Permalink
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.


Scott
Walter Bright via Digitalmars-d
2014-09-21 19:50:02 UTC
Permalink
Post by Scott Wilson via Digitalmars-d
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.
Loading...