Call stack

From Computer History Wiki
Revision as of 20:41, 19 October 2017 by Jnc (talk | contribs) (An OK, if stubby, start)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A call stack is the record, on the stack, of which procedure invocations are active at any given point in time. Each stack frame in the call stack will contain the procedure's arguments (if any), the return point in the calling routine, and any local variables in the called procedure.

In programming languages which support condition handlers, the record of which conditions are handled in any given routine on the call stack is usually listed in that routine's call frame, for use during a stack unwind when a condition is raised.