Is there a way to monitor the call stack size in Visual Studio ? A call stack window is provided while running but does not show the size of the stack. I am using C++ and fa
There are a few ways:
@esp
in the watch window. Compare this to what ESP was at the start of the process.Note that the stack is usually allocated backwards, so as the stack grows, ESP gets smaller and smaller.