I am going through the process of trying to figure out how a library of code works. I would like some sort of tool that would analyze the program that I run off of the library and tells me what functions are called in what order by each thread. Does such a tool exist? What google terms would I use to find such a program?
Note: Using VS2008/Win7/C++
I think a call graph may help you. Most profilers can generate a call graph after profiling. Profiling can also help you identified what code is being used most often.
Another possibility is using a tool to generate sequence diagrams. This won't show you specifically what happened during runtime, but it will give a clear idea what the code is doing.
Regards Dirk
A profiler or code coverage tool will tell you this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With