c++debuggingvisual-c++stack-tracecallstack

Call Stack at Runtime


I want to access the call stack at runtime in a Native C++ application. I am not using the IDE. How do I display the call stack?

Update: I have a function which is called from many points all over the application. It crashes on rare occasions. I was looking for a way to get name of the caller and log it.


Solution

  • I believe that this page has the answer you are looking for. You said Visual C so I assume you mean windows.