Context



Context inherits from Object and defines instance variables stackIndex, receiverClass, selector. It has no subclasses.

Context objects are used mainly for debugging. They are not true Contexts as in other Smalltalks, but instead simply encapsulate a stack frame index and provide some useful utility methods.

The method Context class>>#textOfSelector: provides the only way to get the text of a symbol at runtime. It is only available, however, if the virtual machine has been compiled with debugging support, and if debugging information has been generated by the IDE.

Methods defined in Context:

Methods for accessing:

Methods for initialization:

Methods for printing:


Pocket Smalltalk Documentation