A frozen snapshot of the state of an execution stack.
Moduleghc-internal-10.0.0Haskell2010
GHC.Internal.Stack.CloneStack
This module exposes an interface for capturing the state of a thread's execution stack for diagnostics purposes: cloneMyStack, cloneThreadStack.
Such a "cloned" stack can be decoded with decode to a stack trace, given
that the -finfo-table-map is enabled.
- 1 type
- 2 values
- Packageghc-internal-10.0.0
- Exports3
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceCloneStack.hs
Clone the stack of the executing thread
Clone the stack of a thread identified by its ThreadId