dump Stack Then
fun dumpStackThen( runtime: AvailRuntime, textInterface: TextInterface, availContinuation: A_Continuation, action: (List<String>) -> Unit)
Content copied to clipboard
Create a list of descriptions of the stack frames (A_Continuations) of the specified continuation. Invoke the specified Kotlin function with the resultant list. This list begins with the newest frame and ends with the base frame.
Parameters
runtime
The Avail runtime to use for stringification.
text Interface
The text interface for fibers started due to stringification. This need not be the default AvailRuntime.textInterface.
avail Continuation
The A_Continuation to dump.
action
What to do with the list of Strings.