| Copyright | 2017-2018 phoityne_hs |
|---|---|
| License | BSD3 |
| Safe Haskell | Safe |
| Language | Haskell2010 |
GHCi.DAP.IFData
Contents
Description
Implementation of DAP interface data type.
@see : https://github.com/Microsoft/vscode-debugadapter-node/blob/master/protocol/src/debugProtocol.ts
Synopsis
- data SetBreakpointsArguments = SetBreakpointsArguments {}
- data SourceBreakpoint = SourceBreakpoint {}
- data SetBreakpointsResponseBody = SetBreakpointsResponseBody {}
- data Breakpoint = Breakpoint {}
- defaultBreakpoint :: Breakpoint
- data SetFunctionBreakpointsArguments = SetFunctionBreakpointsArguments {}
- data FunctionBreakpoint = FunctionBreakpoint {}
- data SetFunctionBreakpointsResponseBody = SetFunctionBreakpointsResponseBody {}
- data ContinueArguments = ContinueArguments {}
- data StoppedEventBody = StoppedEventBody {}
- defaultStoppedEventBody :: StoppedEventBody
- data NextArguments = NextArguments {}
- data StepInArguments = StepInArguments {}
- data ScopesArguments = ScopesArguments {}
- data ScopesBody = ScopesBody {
- scopesScopesBody :: [Scope]
- data Scope = Scope {}
- defaultScope :: Scope
- data StackTraceArguments = StackTraceArguments {}
- data StackTraceBody = StackTraceBody {}
- defaultStackTraceBody :: StackTraceBody
- data StackFrame = StackFrame {}
- defaultStackFrame :: StackFrame
- data VariablesArguments = VariablesArguments {}
- data VariablesBody = VariablesBody {}
- data Variable = Variable {}
- defaultVariable :: Variable
- data EvaluateArguments = EvaluateArguments {}
- data EvaluateBody = EvaluateBody {}
- defaultEvaluateBody :: EvaluateBody
- data OutputEventBody = OutputEventBody {}
- defaultOutputEventBody :: OutputEventBody
- data VariablePresentationHint = VariablePresentationHint {}
- data Source = Source {}
- defaultSource :: Source
setBreakpoints
data SetBreakpointsArguments Source #
Arguments for setBreakpoints request.
Constructors
| SetBreakpointsArguments | |
Fields
| |
Instances
| Eq SetBreakpointsArguments Source # | |
Defined in GHCi.DAP.IFData Methods (==) :: SetBreakpointsArguments -> SetBreakpointsArguments -> Bool # (/=) :: SetBreakpointsArguments -> SetBreakpointsArguments -> Bool # | |
| Read SetBreakpointsArguments Source # | |
Defined in GHCi.DAP.IFData | |
| Show SetBreakpointsArguments Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> SetBreakpointsArguments -> ShowS # show :: SetBreakpointsArguments -> String # showList :: [SetBreakpointsArguments] -> ShowS # | |
data SourceBreakpoint Source #
Properties of a breakpoint passed to the setBreakpoints request.
Constructors
| SourceBreakpoint | |
Fields
| |
Instances
| Eq SourceBreakpoint Source # | |
Defined in GHCi.DAP.IFData Methods (==) :: SourceBreakpoint -> SourceBreakpoint -> Bool # (/=) :: SourceBreakpoint -> SourceBreakpoint -> Bool # | |
| Read SourceBreakpoint Source # | |
Defined in GHCi.DAP.IFData Methods readsPrec :: Int -> ReadS SourceBreakpoint # readList :: ReadS [SourceBreakpoint] # | |
| Show SourceBreakpoint Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> SourceBreakpoint -> ShowS # show :: SourceBreakpoint -> String # showList :: [SourceBreakpoint] -> ShowS # | |
data SetBreakpointsResponseBody Source #
Response to "setBreakpoints" request.
Returned is information about each breakpoint created by this request.
This includes the actual code location and whether the breakpoint could be verified.
The breakpoints returned are in the same order as the elements of the breakpoints
(or the deprecated lines) in the SetBreakpointsArguments.
Constructors
| SetBreakpointsResponseBody | |
Fields
| |
Instances
| Eq SetBreakpointsResponseBody Source # | |
Defined in GHCi.DAP.IFData Methods (==) :: SetBreakpointsResponseBody -> SetBreakpointsResponseBody -> Bool # (/=) :: SetBreakpointsResponseBody -> SetBreakpointsResponseBody -> Bool # | |
| Read SetBreakpointsResponseBody Source # | |
Defined in GHCi.DAP.IFData | |
| Show SetBreakpointsResponseBody Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> SetBreakpointsResponseBody -> ShowS # show :: SetBreakpointsResponseBody -> String # showList :: [SetBreakpointsResponseBody] -> ShowS # | |
data Breakpoint Source #
Information about a Breakpoint created in setBreakpoints or setFunctionBreakpoints.
Constructors
| Breakpoint | |
Fields
| |
Instances
| Eq Breakpoint Source # | |
Defined in GHCi.DAP.IFData | |
| Read Breakpoint Source # | |
Defined in GHCi.DAP.IFData Methods readsPrec :: Int -> ReadS Breakpoint # readList :: ReadS [Breakpoint] # readPrec :: ReadPrec Breakpoint # readListPrec :: ReadPrec [Breakpoint] # | |
| Show Breakpoint Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> Breakpoint -> ShowS # show :: Breakpoint -> String # showList :: [Breakpoint] -> ShowS # | |
setFunctionBreakpoints
data SetFunctionBreakpointsArguments Source #
Arguments for setFunctionBreakpoints request.
Constructors
| SetFunctionBreakpointsArguments | |
Instances
| Eq SetFunctionBreakpointsArguments Source # | |
Defined in GHCi.DAP.IFData | |
| Read SetFunctionBreakpointsArguments Source # | |
| Show SetFunctionBreakpointsArguments Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> SetFunctionBreakpointsArguments -> ShowS # | |
data FunctionBreakpoint Source #
Properties of a breakpoint passed to the setFunctionBreakpoints request.
Constructors
| FunctionBreakpoint | |
Instances
| Eq FunctionBreakpoint Source # | |
Defined in GHCi.DAP.IFData Methods (==) :: FunctionBreakpoint -> FunctionBreakpoint -> Bool # (/=) :: FunctionBreakpoint -> FunctionBreakpoint -> Bool # | |
| Read FunctionBreakpoint Source # | |
Defined in GHCi.DAP.IFData Methods readsPrec :: Int -> ReadS FunctionBreakpoint # readList :: ReadS [FunctionBreakpoint] # | |
| Show FunctionBreakpoint Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> FunctionBreakpoint -> ShowS # show :: FunctionBreakpoint -> String # showList :: [FunctionBreakpoint] -> ShowS # | |
data SetFunctionBreakpointsResponseBody Source #
Response to setFunctionBreakpoints request.
Returned is information about each breakpoint created by this request.
Constructors
| SetFunctionBreakpointsResponseBody | |
Instances
| Eq SetFunctionBreakpointsResponseBody Source # | |
Defined in GHCi.DAP.IFData | |
| Read SetFunctionBreakpointsResponseBody Source # | |
| Show SetFunctionBreakpointsResponseBody Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> SetFunctionBreakpointsResponseBody -> ShowS # | |
continue
data ContinueArguments Source #
Arguments for continue request.
Constructors
| ContinueArguments | |
Fields
| |
Instances
| Eq ContinueArguments Source # | |
Defined in GHCi.DAP.IFData Methods (==) :: ContinueArguments -> ContinueArguments -> Bool # (/=) :: ContinueArguments -> ContinueArguments -> Bool # | |
| Read ContinueArguments Source # | |
Defined in GHCi.DAP.IFData Methods readsPrec :: Int -> ReadS ContinueArguments # readList :: ReadS [ContinueArguments] # | |
| Show ContinueArguments Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> ContinueArguments -> ShowS # show :: ContinueArguments -> String # showList :: [ContinueArguments] -> ShowS # | |
data StoppedEventBody Source #
Event message for stopped event type.
The event indicates that the execution of the debuggee has stopped due to some condition.
This can be caused by a break point previously set, a stepping action has completed, by executing a debugger statement etc.
Constructors
| StoppedEventBody | |
Fields
| |
Instances
| Eq StoppedEventBody Source # | |
Defined in GHCi.DAP.IFData Methods (==) :: StoppedEventBody -> StoppedEventBody -> Bool # (/=) :: StoppedEventBody -> StoppedEventBody -> Bool # | |
| Read StoppedEventBody Source # | |
Defined in GHCi.DAP.IFData Methods readsPrec :: Int -> ReadS StoppedEventBody # readList :: ReadS [StoppedEventBody] # | |
| Show StoppedEventBody Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> StoppedEventBody -> ShowS # show :: StoppedEventBody -> String # showList :: [StoppedEventBody] -> ShowS # | |
next
data NextArguments Source #
Arguments for next request.
Constructors
| NextArguments | |
Fields | |
Instances
| Eq NextArguments Source # | |
Defined in GHCi.DAP.IFData Methods (==) :: NextArguments -> NextArguments -> Bool # (/=) :: NextArguments -> NextArguments -> Bool # | |
| Read NextArguments Source # | |
Defined in GHCi.DAP.IFData Methods readsPrec :: Int -> ReadS NextArguments # readList :: ReadS [NextArguments] # | |
| Show NextArguments Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> NextArguments -> ShowS # show :: NextArguments -> String # showList :: [NextArguments] -> ShowS # | |
stepIn
data StepInArguments Source #
Arguments for stepIn request.
Constructors
| StepInArguments | |
Fields | |
Instances
| Eq StepInArguments Source # | |
Defined in GHCi.DAP.IFData Methods (==) :: StepInArguments -> StepInArguments -> Bool # (/=) :: StepInArguments -> StepInArguments -> Bool # | |
| Read StepInArguments Source # | |
Defined in GHCi.DAP.IFData Methods readsPrec :: Int -> ReadS StepInArguments # readList :: ReadS [StepInArguments] # | |
| Show StepInArguments Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> StepInArguments -> ShowS # show :: StepInArguments -> String # showList :: [StepInArguments] -> ShowS # | |
scopes
data ScopesArguments Source #
Arguments for "scopes" request.
Constructors
| ScopesArguments | |
Fields
| |
Instances
| Eq ScopesArguments Source # | |
Defined in GHCi.DAP.IFData Methods (==) :: ScopesArguments -> ScopesArguments -> Bool # (/=) :: ScopesArguments -> ScopesArguments -> Bool # | |
| Read ScopesArguments Source # | |
Defined in GHCi.DAP.IFData Methods readsPrec :: Int -> ReadS ScopesArguments # readList :: ReadS [ScopesArguments] # | |
| Show ScopesArguments Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> ScopesArguments -> ShowS # show :: ScopesArguments -> String # showList :: [ScopesArguments] -> ShowS # | |
data ScopesBody Source #
Response to scopes request.
Constructors
| ScopesBody | |
Fields
| |
Instances
| Eq ScopesBody Source # | |
Defined in GHCi.DAP.IFData | |
| Read ScopesBody Source # | |
Defined in GHCi.DAP.IFData Methods readsPrec :: Int -> ReadS ScopesBody # readList :: ReadS [ScopesBody] # readPrec :: ReadPrec ScopesBody # readListPrec :: ReadPrec [ScopesBody] # | |
| Show ScopesBody Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> ScopesBody -> ShowS # show :: ScopesBody -> String # showList :: [ScopesBody] -> ShowS # | |
A Scope is a named container for variables. Optionally a scope can map to a source or a range within a source.
Constructors
| Scope | |
Fields
| |
defaultScope :: Scope Source #
stackTrace
data StackTraceArguments Source #
Arguments for stackTrace request.
Constructors
| StackTraceArguments | |
Fields
| |
Instances
| Eq StackTraceArguments Source # | |
Defined in GHCi.DAP.IFData Methods (==) :: StackTraceArguments -> StackTraceArguments -> Bool # (/=) :: StackTraceArguments -> StackTraceArguments -> Bool # | |
| Read StackTraceArguments Source # | |
Defined in GHCi.DAP.IFData Methods readsPrec :: Int -> ReadS StackTraceArguments # readList :: ReadS [StackTraceArguments] # | |
| Show StackTraceArguments Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> StackTraceArguments -> ShowS # show :: StackTraceArguments -> String # showList :: [StackTraceArguments] -> ShowS # | |
data StackTraceBody Source #
Response to stackTrace request.
Constructors
| StackTraceBody | |
Fields
| |
Instances
| Eq StackTraceBody Source # | |
Defined in GHCi.DAP.IFData Methods (==) :: StackTraceBody -> StackTraceBody -> Bool # (/=) :: StackTraceBody -> StackTraceBody -> Bool # | |
| Read StackTraceBody Source # | |
Defined in GHCi.DAP.IFData Methods readsPrec :: Int -> ReadS StackTraceBody # readList :: ReadS [StackTraceBody] # | |
| Show StackTraceBody Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> StackTraceBody -> ShowS # show :: StackTraceBody -> String # showList :: [StackTraceBody] -> ShowS # | |
data StackFrame Source #
A Stackframe contains the source location.
Constructors
| StackFrame | |
Fields
| |
Instances
| Eq StackFrame Source # | |
Defined in GHCi.DAP.IFData | |
| Read StackFrame Source # | |
Defined in GHCi.DAP.IFData Methods readsPrec :: Int -> ReadS StackFrame # readList :: ReadS [StackFrame] # readPrec :: ReadPrec StackFrame # readListPrec :: ReadPrec [StackFrame] # | |
| Show StackFrame Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> StackFrame -> ShowS # show :: StackFrame -> String # showList :: [StackFrame] -> ShowS # | |
variables
data VariablesArguments Source #
Arguments for variables request.
Constructors
| VariablesArguments | |
Fields
| |
Instances
| Eq VariablesArguments Source # | |
Defined in GHCi.DAP.IFData Methods (==) :: VariablesArguments -> VariablesArguments -> Bool # (/=) :: VariablesArguments -> VariablesArguments -> Bool # | |
| Read VariablesArguments Source # | |
Defined in GHCi.DAP.IFData Methods readsPrec :: Int -> ReadS VariablesArguments # readList :: ReadS [VariablesArguments] # | |
| Show VariablesArguments Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> VariablesArguments -> ShowS # show :: VariablesArguments -> String # showList :: [VariablesArguments] -> ShowS # | |
data VariablesBody Source #
Response to "variables" request.
Constructors
| VariablesBody | |
Fields
| |
Instances
| Eq VariablesBody Source # | |
Defined in GHCi.DAP.IFData Methods (==) :: VariablesBody -> VariablesBody -> Bool # (/=) :: VariablesBody -> VariablesBody -> Bool # | |
| Read VariablesBody Source # | |
Defined in GHCi.DAP.IFData Methods readsPrec :: Int -> ReadS VariablesBody # readList :: ReadS [VariablesBody] # | |
| Show VariablesBody Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> VariablesBody -> ShowS # show :: VariablesBody -> String # showList :: [VariablesBody] -> ShowS # | |
A Variable is a name/value pair. If the value is structured (has children), a handle is provided to retrieve the children with the VariablesRequest.
Constructors
| Variable | |
Fields
| |
evaluate
data EvaluateArguments Source #
rguments for evaluate request.
Constructors
| EvaluateArguments | |
Fields
| |
Instances
| Eq EvaluateArguments Source # | |
Defined in GHCi.DAP.IFData Methods (==) :: EvaluateArguments -> EvaluateArguments -> Bool # (/=) :: EvaluateArguments -> EvaluateArguments -> Bool # | |
| Read EvaluateArguments Source # | |
Defined in GHCi.DAP.IFData Methods readsPrec :: Int -> ReadS EvaluateArguments # readList :: ReadS [EvaluateArguments] # | |
| Show EvaluateArguments Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> EvaluateArguments -> ShowS # show :: EvaluateArguments -> String # showList :: [EvaluateArguments] -> ShowS # | |
data EvaluateBody Source #
Response to "evaluate" request.
Constructors
| EvaluateBody | |
Fields
| |
Instances
| Eq EvaluateBody Source # | |
Defined in GHCi.DAP.IFData | |
| Read EvaluateBody Source # | |
Defined in GHCi.DAP.IFData Methods readsPrec :: Int -> ReadS EvaluateBody # readList :: ReadS [EvaluateBody] # | |
| Show EvaluateBody Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> EvaluateBody -> ShowS # show :: EvaluateBody -> String # showList :: [EvaluateBody] -> ShowS # | |
event
data OutputEventBody Source #
Event message for "output" event type. The event indicates that the target has produced output.
Constructors
| OutputEventBody | |
Fields
| |
Instances
| Eq OutputEventBody Source # | |
Defined in GHCi.DAP.IFData Methods (==) :: OutputEventBody -> OutputEventBody -> Bool # (/=) :: OutputEventBody -> OutputEventBody -> Bool # | |
| Read OutputEventBody Source # | |
Defined in GHCi.DAP.IFData Methods readsPrec :: Int -> ReadS OutputEventBody # readList :: ReadS [OutputEventBody] # | |
| Show OutputEventBody Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> OutputEventBody -> ShowS # show :: OutputEventBody -> String # showList :: [OutputEventBody] -> ShowS # | |
commons
data VariablePresentationHint Source #
Optional properties of a variable that can be used to determine how to render the variable in the UI.
Constructors
| VariablePresentationHint | |
Fields
| |
Instances
| Eq VariablePresentationHint Source # | |
Defined in GHCi.DAP.IFData Methods (==) :: VariablePresentationHint -> VariablePresentationHint -> Bool # (/=) :: VariablePresentationHint -> VariablePresentationHint -> Bool # | |
| Read VariablePresentationHint Source # | |
Defined in GHCi.DAP.IFData | |
| Show VariablePresentationHint Source # | |
Defined in GHCi.DAP.IFData Methods showsPrec :: Int -> VariablePresentationHint -> ShowS # show :: VariablePresentationHint -> String # showList :: [VariablePresentationHint] -> ShowS # | |
A Source is a descriptor for source code. It is returned from the debug adapter as part of a StackFrame and it is used by clients when specifying breakpoints.
Constructors
| Source | |
Fields
| |