break package:ghc
Break a line of an error message into a filename and the rest of the
line, taking care to ignore colons in Windows drive letters (as noted
in #17786). For instance,
- "hi.c: ABCD" is mapped to Just ("hi.c",
"ABCD")
- "C:\hi.c: ABCD" is mapped to Just ("C:\hi.c",
"ABCD")
the order of this list is important: it matches the order of the lists
in the appropriate entry in
ModBreaks.
Careful about substitution! See Note [substTickish] in
GHC.Core.Subst.
Breakpoint identifier.
See Note [Breakpoint identifiers]
For ByteCode interpreter break points
Query the status of a breakpoint (True
= enabled)
A breakpoint for the GHCi debugger. This behaves like an HPC tick, but
has a list of free variables which will be available for inspection in
GHCi when the program stops at the breakpoint.
NB. we must take account of these Ids when (a) counting free
variables, and (b) substituting (don't substitute for them)
Internal breakpoint identifier
See Note [Breakpoint identifiers]
All the information about the breakpoints for a module