The above posts are all interesting solutions but .
I was hoping to find a utility that would operate someting like the linker only it would generate parent function names (and the file it was in) and then the functions that they called (and the file they were in) and the functions that they...
Caliper will not run on my HP box I am told.
I was hoping to find a utility that would operate like the linker but would generated the name of the calling function and what module it was in and the function(s) that were being called and what module they were in, etc. .....
Thanks,
George
xyb - By functin flow I mean I wan see the structure of a program. What function can call other function, drilling down from the top (main) to the all functions under main that can be called.
For example, ctrace will produce something like the following:
main() <mySrc.c>
foo1()...
I am looking for a function that I can use to trace function flow in a C or C++ program.
I am looking for something like ctrace (Except ctrace is not installed on my HP box AND I don't know where to get it so that I could install it AND ctrace only produces its trace when the program you want...
Is there a Utility (that will run on an HP UNIX box) that will trace the function flow in a C++ program?
I thought that ctrace might work but it is not on my HP Unix box. And, apparently even if it was there it works by inserting fprintf statments into the code (i.e. the generated .c files)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.