The inspector
Factor handbook ยป Developer tools

Prev:The prettyprinter
Next:Stack effect tools


The inspector displays a tabular view of an object and adds navigation and editing features. Inspector words are found in the inspector vocabulary.

Starting the inspector:
inspect ( obj -- )


The inspector supports a number of commands which operate on the most recently inspected object:
&push ( -- obj )

&back ( -- )

&at ( n -- )

&put ( value n -- )

&add ( value key -- )

&rename ( key n -- )

&delete ( n -- )


A variable holding the current object:
me


A description of an object can be printed without starting the inspector:
describe ( obj -- )