ghc-debugger
Safe HaskellNone
LanguageHaskell2010

GHC.Debugger.Stopped

Synopsis

Stack trace

getStacktrace :: Debugger [StackFrame] Source #

Get the stack frames at the point we're stopped at

Scopes

getScopes :: Debugger [ScopeInfo] Source #

Get the stack frames at the point we're stopped at

Variables

getVariables :: VariableReference -> Debugger (Either VarInfo [VarInfo]) Source #

Get variables using a variable/variables reference

If the Variable Request ends up being case (VARR)(b), then we signal the request forced the variable and return Left varInfo. Otherwise, Right vis.

See Note [Variables Requests]

getTopEnv :: Module -> Debugger TypeEnv Source #

All top-level things from a module, including unexported ones.

getTopImported :: Module -> Debugger GlobalRdrEnv Source #

All bindings imported at a given module