Google

STk Inspector


Introduction

The inspector is the simplest tool to visualize the value of Scheme variables. To inspect the variable my-variable, just type:
        STk> (inspect 'my-variable)
      

A variable can also be inspected in particular environment as in:

        STk> (inspect 'var (procedure-environment foo))
      
To uninspect a variable, just enter the following expression:
        (uninspect 'var)
      
or select the Uninspect option in the Icon menu associated with the object line inspector.

Screen organization

The inspector is a toplevel window divided in 2 areas:
  • a menu bar with two buttons: Command and Help
  • a list of all inspected objects. Each line of this list contains 4 fields which are:
    • the name of the inspected varaiable.
    • the environment of the inspected variable
    • the current value of the inpected variable. This field is editable; the <Return> key sets the inspected variable to the
        evaluated
      value contained in this field. The <Shift-Return> keys sets this variable to the content of the field without eveluation.
    • a menu icon which provides various actions on the inspected variable.

Go to top