Safe Haskell | None |
---|---|
Language | Haskell2010 |
GHC.Debugger.Breakpoint
Contents
Synopsis
- clearBreakpoints :: Maybe FilePath -> Debugger ()
- getBreakpointsAt :: ModSummary -> Int -> Maybe Int -> Debugger (Maybe (BreakIndex, RealSrcSpan))
- setBreakpoint :: Breakpoint -> BreakpointStatus -> Debugger BreakFound
Breakpoints
clearBreakpoints :: Maybe FilePath -> Debugger () Source #
Remove all module breakpoints set on the given loaded module by path
If the argument is Nothing
, clear all function breakpoints instead.
Arguments
:: ModSummary | module |
-> Int | line num |
-> Maybe Int | column num |
-> Debugger (Maybe (BreakIndex, RealSrcSpan)) |
Find a BreakpointId
and its span from a module + line + column.
Used by setBreakpoints
and GetBreakpointsAt
requests
setBreakpoint :: Breakpoint -> BreakpointStatus -> Debugger BreakFound Source #
Set a breakpoint in this session