haskell-debugger
Safe HaskellNone
LanguageGHC2021

GHC.Debugger.Runtime.Thread.Stack

Description

Decoding the stack of a thread at runtime

Synopsis

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

Instances details
Generic (StackFrameInfo ref) Source # 
Instance details

Defined in GHC.Debugger.Runtime.Interpreter.Types

Associated Types

type Rep (StackFrameInfo ref) 
Instance details

Defined in GHC.Debugger.Runtime.Interpreter.Types

Methods

from :: StackFrameInfo ref -> Rep (StackFrameInfo ref) x #

to :: Rep (StackFrameInfo ref) x -> StackFrameInfo ref #

Show (StackFrameInfo ref) Source # 
Instance details

Defined in GHC.Debugger.Runtime.Interpreter.Types

type Rep (StackFrameInfo ref) Source # 
Instance details

Defined in GHC.Debugger.Runtime.Interpreter.Types

getRemoteThreadStackCopy :: ForeignRef ThreadId -> Debugger [StackFrameInfo ForeignRef] Source #

Clone the stack of the given remote thread and get the breakpoint ids of available frames