ghc-debugger
Safe HaskellNone
LanguageHaskell2010

GHC.Debugger.Breakpoint

Contents

Synopsis

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.

getBreakpointsAt Source #

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