Contents

forEachFrame(_:)

Iterates all frames efficiently.

Declaration

func forEachFrame(_ body: (CallStackFrame) throws -> Void) rethrows

Parameters

  • body:

    A closure that processes each frame

Mentioned in

Discussion

Use this method for optimized traversal of the entire call stack tree.

See Also

Threads and frames