Hacker News new | ask | show | jobs
by blobfish01 1094 days ago
Anybody building open source tools for c++ is great, so thanks. Most confusion for me happens around dynamic dispatch. I want a good tool to generate and control dynamic call graphs.
1 comments

>Most confusion for me happens around dynamic dispatch. I want a good tool to generate and control dynamic call graphs.

I use the profiler (eg. gprof call graph) and good old "printf/log tracing" for this.

PS: See also -finstrument-functions in gcc : https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.h... and https://balau82.wordpress.com/2010/10/06/trace-and-profile-f...