HORIZON HASKELLDocslts/ghc-9.14.xb2f3bfd2026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · b2f3bfd · 2026-10-11

Moduleghc-lib-parser-9.14.1.20251220GHC2021

GHC.Runtime.Eval.Types

  • 7 types
  • 2 values
datadata IcGlobalRdrEnv
#

Essentially a GlobalRdrEnv, but with additional cached values to allow efficient re-calculation when the imports change. Fields are strict to avoid space leaks (see T4029) All operations are in GHC.Runtime.Context. See Note [icReaderEnv recalculation]

Constructors

datadata ExecResult
#

Constructors

valuebreakHere
  1. :: Bool

    Was this breakpoint explicitly active (in the BreakArrays)?

  2. -> SingleStep

    What kind of stepping were we doing

  3. -> SrcSpan

    The span of the breakpoint we hit

  4. -> Bool

    Should we stop here then?

#

Given a SingleStep mode, whether the breakpoint was explicitly active, and the SrcSpan of a breakpoint we hit, return True if we should stop at this breakpoint.

In particular, this will always be False for RunToCompletion and RunAndLogSteps. We'd need further information e.g. about the user breakpoints to determine whether to break in those modes.