Accessing the call stack in code?
I know you can look at the call stack in the debugger, but can your program have access to it to say, print it to a file at any given point? This is with Visual C++ 6.0
Something I did a while back for test/experimentation purposes might be of interest to you:
http://www.sc3d.com/thought/snippets/debugging/GetFunctionCaller
http://www.sc3d.com/thought/snippets/debugging/GetFunctionCaller
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement