| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
GHC.Debugger.Runtime.Thread.Stack
Description
Decoding the stack of a thread at runtime
Synopsis
- data StackFrameInfo (ref :: Type -> Type)
- getRemoteThreadStackCopy :: ForeignRef ThreadId -> Debugger [StackFrameInfo ForeignRef]
Documentation
data StackFrameInfo (ref :: Type -> Type) Source #
Information about a stack frame
Constructors
| StackFrameIPEInfo !InfoProv | Information derived from an IPE entry |
| StackFrameAnnotation !(Maybe SrcLoc) !String | User-defined Stack Frame annotation |
| StackFrameBreakpointInfo !InternalBreakpointId !(DbgStackFrameBCOArgs ref) | Information derived from a continuation BCO breakpoint info. |
Instances
getRemoteThreadStackCopy :: ForeignRef ThreadId -> Debugger [StackFrameInfo ForeignRef] Source #
Clone the stack of the given remote thread and get the breakpoint ids of available frames