Call Stack - Call Stack Inspection

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:

    What I call a good patient is one who, having found a good physician, sticks to him till he dies.
    Oliver Wendell Holmes, Sr. (1809–1894)

    “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)

    Utopias are presented for our inspection as a critique of the human state. If they are to be treated as anything but trivial exercises of the imagination. I suggest there is a simple test we can apply.... We must forget the whole paraphernalia of social description, demonstration, expostulation, approbation, condemnation. We have to say to ourselves, “How would I myself live in this proposed society? How long would it be before I went stark staring mad?”
    William Golding (b. 1911)