News for hackers. Stuff that matters.
Re:Show HN: Clang-uml – C++ to UML diagram generator based o... by blobfish01 on Monday June 26, 2023 @04:31PM (#36485423)
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.
Re:Show HN: Clang-uml – C++ to UML diagram generator based o... by rramadass on Monday June 26, 2023 @11:15PM (#36488470)
>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...