Copyright | 2017-2018 phoityne_hs |
---|---|
License | BSD3 |
Safe Haskell | Safe |
Language | Haskell2010 |
This module will be deprecated.
@see : Haskell.DAP module.
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.
SetBreakpointsArguments | |
|
Instances
Eq SetBreakpointsArguments Source # | |
Defined in GHCi.DAP.IFData | |
Read SetBreakpointsArguments Source # | |
Show SetBreakpointsArguments Source # | |
Defined in GHCi.DAP.IFData showsPrec :: Int -> SetBreakpointsArguments -> ShowS # show :: SetBreakpointsArguments -> String # showList :: [SetBreakpointsArguments] -> ShowS # |
data SourceBreakpoint Source #
Properties of a breakpoint passed to the setBreakpoints request.
SourceBreakpoint | |
|
Instances
Eq SourceBreakpoint Source # | |
Defined in GHCi.DAP.IFData (==) :: SourceBreakpoint -> SourceBreakpoint -> Bool # (/=) :: SourceBreakpoint -> SourceBreakpoint -> Bool # | |
Read SourceBreakpoint Source # | |
Defined in GHCi.DAP.IFData | |
Show SourceBreakpoint Source # | |
Defined in GHCi.DAP.IFData 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.
SetBreakpointsResponseBody | |
|
Instances
Eq SetBreakpointsResponseBody Source # | |
Defined in GHCi.DAP.IFData | |
Read SetBreakpointsResponseBody Source # | |
Show SetBreakpointsResponseBody Source # | |
Defined in GHCi.DAP.IFData showsPrec :: Int -> SetBreakpointsResponseBody -> ShowS # show :: SetBreakpointsResponseBody -> String # showList :: [SetBreakpointsResponseBody] -> ShowS # |
data Breakpoint Source #
Information about a Breakpoint created in setBreakpoints or setFunctionBreakpoints.
Breakpoint | |
|
Instances
Eq Breakpoint Source # | |
Defined in GHCi.DAP.IFData (==) :: Breakpoint -> Breakpoint -> Bool # (/=) :: Breakpoint -> Breakpoint -> Bool # | |
Read Breakpoint Source # | |
Defined in GHCi.DAP.IFData readsPrec :: Int -> ReadS Breakpoint # readList :: ReadS [Breakpoint] # readPrec :: ReadPrec Breakpoint # readListPrec :: ReadPrec [Breakpoint] # | |
Show Breakpoint Source # | |
Defined in GHCi.DAP.IFData showsPrec :: Int -> Breakpoint -> ShowS # show :: Breakpoint -> String # showList :: [Breakpoint] -> ShowS # |
setFunctionBreakpoints
data SetFunctionBreakpointsArguments Source #
Arguments for setFunctionBreakpoints
request.
data FunctionBreakpoint Source #
Properties of a breakpoint passed to the setFunctionBreakpoints request.
Instances
Eq FunctionBreakpoint Source # | |
Defined in GHCi.DAP.IFData (==) :: FunctionBreakpoint -> FunctionBreakpoint -> Bool # (/=) :: FunctionBreakpoint -> FunctionBreakpoint -> Bool # | |
Read FunctionBreakpoint Source # | |
Defined in GHCi.DAP.IFData | |
Show FunctionBreakpoint Source # | |
Defined in GHCi.DAP.IFData 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.
continue
data ContinueArguments Source #
Arguments for continue
request.
ContinueArguments | |
|
Instances
Eq ContinueArguments Source # | |
Defined in GHCi.DAP.IFData (==) :: ContinueArguments -> ContinueArguments -> Bool # (/=) :: ContinueArguments -> ContinueArguments -> Bool # | |
Read ContinueArguments Source # | |
Defined in GHCi.DAP.IFData | |
Show ContinueArguments Source # | |
Defined in GHCi.DAP.IFData 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.
StoppedEventBody | |
|
Instances
Eq StoppedEventBody Source # | |
Defined in GHCi.DAP.IFData (==) :: StoppedEventBody -> StoppedEventBody -> Bool # (/=) :: StoppedEventBody -> StoppedEventBody -> Bool # | |
Read StoppedEventBody Source # | |
Defined in GHCi.DAP.IFData | |
Show StoppedEventBody Source # | |
Defined in GHCi.DAP.IFData showsPrec :: Int -> StoppedEventBody -> ShowS # show :: StoppedEventBody -> String # showList :: [StoppedEventBody] -> ShowS # |
next
data NextArguments Source #
Arguments for next
request.
Instances
Eq NextArguments Source # | |
Defined in GHCi.DAP.IFData (==) :: NextArguments -> NextArguments -> Bool # (/=) :: NextArguments -> NextArguments -> Bool # | |
Read NextArguments Source # | |
Defined in GHCi.DAP.IFData readsPrec :: Int -> ReadS NextArguments # readList :: ReadS [NextArguments] # | |
Show NextArguments Source # | |
Defined in GHCi.DAP.IFData showsPrec :: Int -> NextArguments -> ShowS # show :: NextArguments -> String # showList :: [NextArguments] -> ShowS # |
stepIn
data StepInArguments Source #
Arguments for stepIn
request.
Instances
Eq StepInArguments Source # | |
Defined in GHCi.DAP.IFData (==) :: StepInArguments -> StepInArguments -> Bool # (/=) :: StepInArguments -> StepInArguments -> Bool # | |
Read StepInArguments Source # | |
Defined in GHCi.DAP.IFData | |
Show StepInArguments Source # | |
Defined in GHCi.DAP.IFData showsPrec :: Int -> StepInArguments -> ShowS # show :: StepInArguments -> String # showList :: [StepInArguments] -> ShowS # |
scopes
data ScopesArguments Source #
Arguments for "scopes" request.
ScopesArguments | |
|
Instances
Eq ScopesArguments Source # | |
Defined in GHCi.DAP.IFData (==) :: ScopesArguments -> ScopesArguments -> Bool # (/=) :: ScopesArguments -> ScopesArguments -> Bool # | |
Read ScopesArguments Source # | |
Defined in GHCi.DAP.IFData | |
Show ScopesArguments Source # | |
Defined in GHCi.DAP.IFData showsPrec :: Int -> ScopesArguments -> ShowS # show :: ScopesArguments -> String # showList :: [ScopesArguments] -> ShowS # |
data ScopesBody Source #
Response to scopes
request.
ScopesBody | |
|
Instances
Eq ScopesBody Source # | |
Defined in GHCi.DAP.IFData (==) :: ScopesBody -> ScopesBody -> Bool # (/=) :: ScopesBody -> ScopesBody -> Bool # | |
Read ScopesBody Source # | |
Defined in GHCi.DAP.IFData readsPrec :: Int -> ReadS ScopesBody # readList :: ReadS [ScopesBody] # readPrec :: ReadPrec ScopesBody # readListPrec :: ReadPrec [ScopesBody] # | |
Show ScopesBody Source # | |
Defined in GHCi.DAP.IFData 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.
Scope | |
|
defaultScope :: Scope Source #
stackTrace
data StackTraceArguments Source #
Arguments for stackTrace
request.
StackTraceArguments | |
|
Instances
Eq StackTraceArguments Source # | |
Defined in GHCi.DAP.IFData (==) :: StackTraceArguments -> StackTraceArguments -> Bool # (/=) :: StackTraceArguments -> StackTraceArguments -> Bool # | |
Read StackTraceArguments Source # | |
Defined in GHCi.DAP.IFData | |
Show StackTraceArguments Source # | |
Defined in GHCi.DAP.IFData showsPrec :: Int -> StackTraceArguments -> ShowS # show :: StackTraceArguments -> String # showList :: [StackTraceArguments] -> ShowS # |
data StackTraceBody Source #
Response to stackTrace
request.
StackTraceBody | |
|
Instances
Eq StackTraceBody Source # | |
Defined in GHCi.DAP.IFData (==) :: StackTraceBody -> StackTraceBody -> Bool # (/=) :: StackTraceBody -> StackTraceBody -> Bool # | |
Read StackTraceBody Source # | |
Defined in GHCi.DAP.IFData readsPrec :: Int -> ReadS StackTraceBody # readList :: ReadS [StackTraceBody] # | |
Show StackTraceBody Source # | |
Defined in GHCi.DAP.IFData showsPrec :: Int -> StackTraceBody -> ShowS # show :: StackTraceBody -> String # showList :: [StackTraceBody] -> ShowS # |
data StackFrame Source #
A Stackframe contains the source location.
StackFrame | |
|
Instances
Eq StackFrame Source # | |
Defined in GHCi.DAP.IFData (==) :: StackFrame -> StackFrame -> Bool # (/=) :: StackFrame -> StackFrame -> Bool # | |
Read StackFrame Source # | |
Defined in GHCi.DAP.IFData readsPrec :: Int -> ReadS StackFrame # readList :: ReadS [StackFrame] # readPrec :: ReadPrec StackFrame # readListPrec :: ReadPrec [StackFrame] # | |
Show StackFrame Source # | |
Defined in GHCi.DAP.IFData showsPrec :: Int -> StackFrame -> ShowS # show :: StackFrame -> String # showList :: [StackFrame] -> ShowS # |
variables
data VariablesArguments Source #
Arguments for variables
request.
VariablesArguments | |
|
Instances
Eq VariablesArguments Source # | |
Defined in GHCi.DAP.IFData (==) :: VariablesArguments -> VariablesArguments -> Bool # (/=) :: VariablesArguments -> VariablesArguments -> Bool # | |
Read VariablesArguments Source # | |
Defined in GHCi.DAP.IFData | |
Show VariablesArguments Source # | |
Defined in GHCi.DAP.IFData showsPrec :: Int -> VariablesArguments -> ShowS # show :: VariablesArguments -> String # showList :: [VariablesArguments] -> ShowS # |
data VariablesBody Source #
Response to "variables" request.
VariablesBody | |
|
Instances
Eq VariablesBody Source # | |
Defined in GHCi.DAP.IFData (==) :: VariablesBody -> VariablesBody -> Bool # (/=) :: VariablesBody -> VariablesBody -> Bool # | |
Read VariablesBody Source # | |
Defined in GHCi.DAP.IFData readsPrec :: Int -> ReadS VariablesBody # readList :: ReadS [VariablesBody] # | |
Show VariablesBody Source # | |
Defined in GHCi.DAP.IFData 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.
Variable | |
|
evaluate
data EvaluateArguments Source #
rguments for evaluate
request.
EvaluateArguments | |
|
Instances
Eq EvaluateArguments Source # | |
Defined in GHCi.DAP.IFData (==) :: EvaluateArguments -> EvaluateArguments -> Bool # (/=) :: EvaluateArguments -> EvaluateArguments -> Bool # | |
Read EvaluateArguments Source # | |
Defined in GHCi.DAP.IFData | |
Show EvaluateArguments Source # | |
Defined in GHCi.DAP.IFData showsPrec :: Int -> EvaluateArguments -> ShowS # show :: EvaluateArguments -> String # showList :: [EvaluateArguments] -> ShowS # |
data EvaluateBody Source #
Response to "evaluate" request.
EvaluateBody | |
|
Instances
Eq EvaluateBody Source # | |
Defined in GHCi.DAP.IFData (==) :: EvaluateBody -> EvaluateBody -> Bool # (/=) :: EvaluateBody -> EvaluateBody -> Bool # | |
Read EvaluateBody Source # | |
Defined in GHCi.DAP.IFData readsPrec :: Int -> ReadS EvaluateBody # readList :: ReadS [EvaluateBody] # | |
Show EvaluateBody Source # | |
Defined in GHCi.DAP.IFData 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.
OutputEventBody | |
|
Instances
Eq OutputEventBody Source # | |
Defined in GHCi.DAP.IFData (==) :: OutputEventBody -> OutputEventBody -> Bool # (/=) :: OutputEventBody -> OutputEventBody -> Bool # | |
Read OutputEventBody Source # | |
Defined in GHCi.DAP.IFData | |
Show OutputEventBody Source # | |
Defined in GHCi.DAP.IFData 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.
VariablePresentationHint | |
|
Instances
Eq VariablePresentationHint Source # | |
Defined in GHCi.DAP.IFData | |
Read VariablePresentationHint Source # | |
Show VariablePresentationHint Source # | |
Defined in GHCi.DAP.IFData 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.
Source | |
|