September 21, 2014 D tooling: perf tool, gdb, unit tests, gcov, gprof | ||||
---|---|---|---|---|
| ||||
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 |
September 21, 2014 Re: D tooling: perf tool, gdb, unit tests, gcov, gprof | ||||
---|---|---|---|---|
| ||||
Posted in reply to Scott Wilson | 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.
|
Copyright © 1999-2021 by the D Language Foundation