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 to trace runs. i.e. I think ctrace does its magic by inserting printf statments in the source?)
I am working on an old, large application with very poor documentation. I would like to know what function calls another function which calls another fucntion,... , etc.
Does anyone have any ideas?
Thanks in advance,
George
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 to trace runs. i.e. I think ctrace does its magic by inserting printf statments in the source?)
I am working on an old, large application with very poor documentation. I would like to know what function calls another function which calls another fucntion,... , etc.
Does anyone have any ideas?
Thanks in advance,
George