stackframe

noun
UK /ˈstæk.freɪm/
US /ˈstæk.freɪm/

A stackframe is a small box of memory that a computer makes to hold the information for one function while it runs.

When the program called the function, it created a new stackframe to store the local variables.


OTHER MEANINGS

2. A data structure that holds the parameters, local variables, and return address for a single function call.

The debugger showed each stackframe in the call stack, from main down to the failing function.

3. A region of the runtime stack allocated when a function is invoked and released when it returns.

Deep recursion can overflow the stack because each call adds another stackframe.

4. In some virtual machines, a record describing the state of one method invocation.

The exception trace listed the stackframe where the error was thrown.