Method category index
built ins (class)
exception handling (class)
built ins (instance)
Return the value of the thisContext variable. Called internally when the variable is accessed.
Print a backtrace from the caller to the bottom of the stack on the Transcript
Print a backtrace from the caller to the bottom of the stack on aStream
Answer the index-th slot in the receiver. Any read access from (self size + 1) to (self basicSize) will give nil.
at: index put: anObject
Answer the index-th slot in the receiver. Any write access from (self size + 1) to (self basicSize) will give an error unless nil is being written. This is because doing such an access first, and then updating sp, is racy: the garbage collector may trigger in the middle and move anObject, but the slot in the context won't be adjusted.
Answer the client of this context, that is, the object that sent the message that created this context. Fail if the receiver has no parent
Answer the name of the file where the method source code is
To create a valid execution environment for the interpreter even before it starts, GST creates a fake context whose selector is nil and which can be used as a marker for the current execution environment. This method answers that context. For processes, it answers the process block itself
Answer the MethodContext to which the receiver refers
Answer the value of the instruction pointer when execution starts in the current context
Answer the current instruction pointer into the receiver
Set the instruction pointer for the receiver
Answer whether the receiver is a block context
Answers whether the context is skipped when doing a return. Contexts are marked as disabled whenever a non-local return is done (either by returning from the enclosing method of a block, or with the #continue: method of ContextPart) and there are unwind contexts such as those created by #ensure:. All non-unwind contexts are then marked as disabled.
To create a valid execution environment for the interpreter even before it starts, GST creates a fake context which invokes a special ``termination'' method. Such a context can be used as a marker for the current execution environment. Answer whether the receiver is that kind of context.
Answer whether the receiver represents a process context, i.e. a context created by BlockClosure>>#newProcess. Such a context can be recognized because it has no parent but its flags are different from those of the contexts created by the VM's prepareExecutionEnvironment function.
Answers whether the context must continue execution even after a non-local return (a return from the enclosing method of a block, or a call to the #continue: method of ContextPart). Such contexts are created by #ensure:.
Return the CompiledMethod being executed
Return the class in which the CompiledMethod being executed is defined
Answer the number of arguments passed to the receiver
Answer the number of temporaries used by the receiver
Answer the context that called the receiver
Set the context to which the receiver will return
Push an object on the receiver's stack.
Return the receiver (self) for the method being executed
Return the selector for the method being executed
Answer the number of valid fields for the receiver. Any read access from (self size + 1) to (self basicSize) will give nil.
Answer the current stack pointer into the receiver. Note that the sp value is zero-based.
Set the stack pointer for the receiver.
Answer how many elements in the receiver should be inspected
Resume execution from the receiver, faking that the context on top of it in the execution chain has returned anObject. The receiver must belong to the same process as the executing context, otherwise the results are not predictable. All #ensure: (and possibly #ifCurtailed:) blocks between the currently executing context and the receiver are evaluated (which is not what would happen if you directly bashed at the parent context of thisContext).
Answer a copy of the entire stack.
Answer a copy of the entire stack, but don't copy any of the other instance variables of the context.
Answer the 1-based number of the line that is pointed to by the receiver's instruction pointer. The DebugTools package caches information, thus making the implementation faster.
Answer the 1-based number of the line that is pointed to by the receiver's instruction pointer, relative to the method's file. The implementation is slow unless the DebugTools package is loaded.
Answer the debugger that is attached to the given context. It is always nil unless the DebugTools package is loaded.
Answer which debugger should be used to debug the current context chain. The class with the highest debugging priority is picked among those mentioned in the chain.
Answer whether the receiver is a context that should be hidden to the user when presenting a backtrace.
Scan the backtrace for contexts whose selector is among those listed in selectors; if one is found, invoke aBlock passing the context.
scanBacktraceForAttribute: selector do: aBlock
Scan the backtrace for contexts which have the attribute selector listed in selectors; if one is found, invoke aBlock passing the context and the attribute.
Print a backtrace from the receiver to the bottom of the stack on the Transcript.
Print a backtrace from the caller to the bottom of the stack on aStream.
printArgumentsOn: aStream spaces: anInteger
printContextStateOn: aStream spaces: anInteger
printOptimizedTemporariesOn: aStream spaces: anInteger
printTemporariesOn: aStream spaces: anInteger
printVariable: anArray at: anIndex do: aBlock on: aStream spaces: anInteger
printVariableKind: aString on: aStream spaces: anInteger