haskell-debugger
Safe HaskellNone
LanguageGHC2021

GHC.Debugger.Stopped

Synopsis

Threads

Stack trace

getStacktrace :: RemoteThreadId -> Debugger [DbgStackFrame] Source #

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

Scopes

getScopes :: RemoteThreadId -> Int -> Debugger [ScopeInfo] Source #

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

Variables

getVariables :: RemoteThreadId -> Int -> VariableReference -> Debugger VariableResult Source #

Get variables using a variable/variables reference.

When the request forces a variable, return ForcedVariable. Otherwise return the resulting variables/fields.

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