Call Stack Inspection
The call stack can sometimes be inspected as the program is running. Depending on how the program is written and compiled, the information on the stack can be used to determine intermediate values and function call traces. This has been used to generate fine-grained automated tests, and in cases like Ruby and Smalltalk, to implement first-class continuations.
Read more about this topic: Call Stack
Famous quotes containing the words call, stack and/or inspection:
“I call on those that call me son,
Grandson, or great-grandson,
On uncles, aunts, great-uncles or great-aunts
To judge what I have done.
Have I, that put it into words,
Spoilt what old loins have sent?”
—William Butler Yeats (18651939)
“Farewell to barn and stack and tree,
Farewell to Severn shore.
Terence, look your last at me,
For I come home no more.”
—A.E. (Alfred Edward)
“Thus the orb he roamed
With narrow search, and with inspection deep
Considered every creature, which of all
Most opportune might serve his wiles, and found
The serpent subtlest beast of all the field.”
—John Milton (16081674)