Copyright | 2017-2019 phoityne_hs |
---|---|
License | BSD3 |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Implementation of DAP interface data type.
@see : https://microsoft.github.io/debug-adapter-protocol/
@see : https://github.com/Microsoft/vscode-debugadapter-node/blob/master/protocol/src/debugProtocol.ts
Synopsis
- _THREAD_ID :: Int
- data Request = Request {}
- defaultRequest :: Request
- data Response = Response {}
- data ColumnDescriptor = ColumnDescriptor {}
- data Source = Source {}
- defaultSource :: Source
- data Breakpoint = Breakpoint {}
- defaultBreakpoint :: Breakpoint
- data ExceptionBreakpointsFilter = ExceptionBreakpointsFilter {}
- data InitializeRequest = InitializeRequest {}
- defaultInitializeRequest :: InitializeRequest
- data InitializeRequestArguments = InitializeRequestArguments {}
- defaultInitializeRequestArguments :: InitializeRequestArguments
- data InitializeResponse = InitializeResponse {}
- defaultInitializeResponse :: InitializeResponse
- data InitializeResponseBody = InitializeResponseBody {
- supportsConfigurationDoneRequestInitializeResponseBody :: Bool
- supportsFunctionBreakpointsInitializeResponseBody :: Bool
- supportsConditionalBreakpointsInitializeResponseBody :: Bool
- supportsHitConditionalBreakpointsInitializeResponseBody :: Bool
- supportsEvaluateForHoversInitializeResponseBody :: Bool
- exceptionBreakpointFiltersInitializeResponseBody :: [ExceptionBreakpointsFilter]
- supportsStepBackInitializeResponseBody :: Bool
- supportsSetVariableInitializeResponseBody :: Bool
- supportsRestartFrameInitializeResponseBody :: Bool
- supportsGotoTargetsRequestInitializeResponseBody :: Bool
- supportsStepInTargetsRequestInitializeResponseBody :: Bool
- supportsCompletionsRequestInitializeResponseBody :: Bool
- supportsModulesRequestInitializeResponseBody :: Bool
- additionalModuleColumnsInitializeResponseBody :: [ColumnDescriptor]
- supportsLogPointsInitializeResponseBody :: Bool
- supportsTerminateRequestInitializeResponseBody :: Bool
- defaultInitializeResponseBody :: InitializeResponseBody
- data DisconnectRequest = DisconnectRequest {}
- data DisconnectRequestArguments = DisconnectArguments {}
- data DisconnectResponse = DisconnectResponse {}
- defaultDisconnectResponse :: DisconnectResponse
- data PauseRequest = PauseRequest {}
- data PauseRequestArguments = PauseArguments {}
- data PauseResponse = PauseResponse {}
- defaultPauseResponse :: PauseResponse
- data TerminateRequest = TerminateRequest {}
- data TerminateRequestArguments = TerminateArguments {}
- data TerminateResponse = TerminateResponse {}
- defaultTerminateResponse :: TerminateResponse
- data LaunchRequest = LaunchRequest {}
- data LaunchRequestArguments = LaunchRequestArguments {
- noDebugLaunchRequestArguments :: Maybe Bool
- nameLaunchRequestArguments :: String
- typeLaunchRequestArguments :: String
- requestLaunchRequestArguments :: String
- startupLaunchRequestArguments :: String
- workspaceLaunchRequestArguments :: String
- logFileLaunchRequestArguments :: String
- logLevelLaunchRequestArguments :: String
- ghciPromptLaunchRequestArguments :: String
- ghciCmdLaunchRequestArguments :: String
- stopOnEntryLaunchRequestArguments :: Bool
- mainArgsLaunchRequestArguments :: Maybe String
- ghciEnvLaunchRequestArguments :: Map String String
- ghciInitialPromptLaunchRequestArguments :: Maybe String
- startupFuncLaunchRequestArguments :: Maybe String
- startupArgsLaunchRequestArguments :: Maybe String
- forceInspectLaunchRequestArguments :: Maybe Bool
- data LaunchResponse = LaunchResponse {}
- defaultLaunchResponse :: LaunchResponse
- data SourceBreakpoint = SourceBreakpoint {}
- data SetBreakpointsRequest = SetBreakpointsRequest {}
- data SetBreakpointsRequestArguments = SetBreakpointsRequestArguments {}
- data SetBreakpointsResponse = SetBreakpointsResponse {}
- data SetBreakpointsResponseBody = SetBreakpointsResponseBody {}
- defaultSetBreakpointsResponse :: SetBreakpointsResponse
- defaultSetBreakpointsResponseBody :: SetBreakpointsResponseBody
- data FunctionBreakpoint = FunctionBreakpoint {}
- data SetFunctionBreakpointsRequest = SetFunctionBreakpointsRequest {}
- data SetFunctionBreakpointsRequestArguments = SetFunctionBreakpointsRequestArguments {}
- data SetFunctionBreakpointsResponse = SetFunctionBreakpointsResponse {
- seqSetFunctionBreakpointsResponse :: Int
- typeSetFunctionBreakpointsResponse :: String
- request_seqSetFunctionBreakpointsResponse :: Int
- successSetFunctionBreakpointsResponse :: Bool
- commandSetFunctionBreakpointsResponse :: String
- messageSetFunctionBreakpointsResponse :: String
- bodySetFunctionBreakpointsResponse :: SetFunctionBreakpointsResponseBody
- data SetFunctionBreakpointsResponseBody = SetFunctionBreakpointsResponseBody {}
- defaultSetFunctionBreakpointsResponse :: SetFunctionBreakpointsResponse
- defaultSetFunctionBreakpointsResponseBody :: SetFunctionBreakpointsResponseBody
- data SetExceptionBreakpointsRequest = SetExceptionBreakpointsRequest {}
- data SetExceptionBreakpointsRequestArguments = SetExceptionBreakpointsRequestArguments {}
- data SetExceptionBreakpointsResponse = SetExceptionBreakpointsResponse {}
- defaultSetExceptionBreakpointsResponse :: SetExceptionBreakpointsResponse
- data ConfigurationDoneRequest = ConfigurationDoneRequest {}
- data ConfigurationDoneResponse = ConfigurationDoneResponse {}
- defaultConfigurationDoneResponse :: ConfigurationDoneResponse
- data ThreadsRequest = ThreadsRequest {}
- defaultThreadsResponse :: ThreadsResponse
- data Thread = Thread {
- idThread :: Int
- nameThread :: String
- data ThreadsResponse = ThreadsResponse {}
- data ThreadsResponseBody = ThreadsResponseBody {}
- defaultThreadsResponseBody :: ThreadsResponseBody
- data StackTraceRequest = StackTraceRequest {}
- data StackTraceRequestArguments = StackTraceRequestArguments {}
- data StackFrame = StackFrame {}
- defaultStackFrame :: StackFrame
- data StackTraceResponse = StackTraceResponse {}
- defaultStackTraceResponse :: StackTraceResponse
- data StackTraceResponseBody = StackTraceResponseBody {}
- defaultStackTraceResponseBody :: StackTraceResponseBody
- data ScopesRequest = ScopesRequest {}
- data ScopesRequestArguments = ScopesRequestArguments {}
- data Scope = Scope {}
- defaultScope :: Scope
- data ScopesResponse = ScopesResponse {}
- defaultScopesResponse :: ScopesResponse
- data ScopesResponseBody = ScopesResponseBody {}
- defaultScopesResponseBody :: ScopesResponseBody
- data VariablesRequest = VariablesRequest {}
- data VariablesRequestArguments = VariablesRequestArguments {}
- data Variable = Variable {}
- defaultVariable :: Variable
- data VariablePresentationHint = VariablePresentationHint {}
- data VariablesResponse = VariablesResponse {}
- defaultVariablesResponse :: VariablesResponse
- data VariablesResponseBody = VariablesResponseBody {}
- defaultVariablesResponseBody :: VariablesResponseBody
- data SourceRequest = SourceRequest {}
- data SourceRequestArguments = SourceRequestArguments {}
- data SourceResponse = SourceResponse {}
- defaultSourceResponse :: SourceResponse
- data SourceResponseBody = SourceResponseBody {}
- defaultSourceResponseBody :: SourceResponseBody
- data ContinueRequest = ContinueRequest {}
- data ContinueRequestArguments = ContinueRequestArguments {}
- defaultContinueRequestArguments :: ContinueRequestArguments
- data ContinueResponse = ContinueResponse {}
- defaultContinueResponse :: ContinueResponse
- data NextRequest = NextRequest {}
- data NextRequestArguments = NextRequestArguments {}
- data NextResponse = NextResponse {}
- defaultNextResponse :: NextResponse
- data StepInRequest = StepInRequest {}
- data StepInRequestArguments = StepInRequestArguments {}
- data StepInResponse = StepInResponse {}
- defaultStepInResponse :: StepInResponse
- data EvaluateRequest = EvaluateRequest {}
- data EvaluateRequestArguments = EvaluateRequestArguments {}
- data EvaluateResponse = EvaluateResponse {}
- defaultEvaluateResponse :: EvaluateResponse
- data EvaluateResponseBody = EvaluateResponseBody {}
- defaultEvaluateResponseBody :: EvaluateResponseBody
- data CompletionsRequest = CompletionsRequest {}
- data CompletionsRequestArguments = CompletionsRequestArguments {}
- data CompletionsItem = CompletionsItem {}
- data CompletionsResponse = CompletionsResponse {}
- defaultCompletionsResponse :: CompletionsResponse
- data CompletionsResponseBody = CompletionsResponseBody {}
- defaultCompletionsResponseBody :: CompletionsResponseBody
- data OutputEvent = OutputEvent {}
- defaultOutputEvent :: OutputEvent
- data OutputEventBody = OutputEventBody {}
- defaultOutputEventBody :: OutputEventBody
- data InitializedEvent = InitializedEvent {}
- defaultInitializedEvent :: InitializedEvent
- data TerminatedEvent = TerminatedEvent {}
- defaultTerminatedEvent :: TerminatedEvent
- data TerminatedEventBody = TerminatedEventBody {}
- defaultTerminatedEventBody :: TerminatedEventBody
- data ExitedEvent = ExitedEvent {}
- defaultExitedEvent :: ExitedEvent
- data ExitedEventBody = ExitedEventBody {}
- defaultExitedEventBody :: ExitedEventBody
- data ContinuedEvent = ContinuedEvent {}
- defaultContinuedEvent :: ContinuedEvent
- data ContinuedEventBody = ContinuedEventBody {}
- defaultContinuedEventBody :: ContinuedEventBody
- data StoppedEvent = StoppedEvent {}
- defaultStoppedEvent :: StoppedEvent
- data StoppedEventBody = StoppedEventBody {}
- defaultStoppedEventBody :: StoppedEventBody
commons
_THREAD_ID :: Int Source #
The debugee thread id is fixed 0.
Client-initiated request
Request | |
|
Response for a request.
Response | |
|
data ColumnDescriptor Source #
A ColumnDescriptor specifies what module attribute to show in a column of the ModulesView,
how to format it, and what the column's label should be.
It is only used if the underlying UI actually supports this level of customization.
ColumnDescriptor | |
|
Instances
Read ColumnDescriptor Source # | |
Defined in Haskell.DAP | |
Show ColumnDescriptor Source # | |
Defined in Haskell.DAP showsPrec :: Int -> ColumnDescriptor -> ShowS # show :: ColumnDescriptor -> String # showList :: [ColumnDescriptor] -> ShowS # | |
Eq ColumnDescriptor Source # | |
Defined in Haskell.DAP (==) :: ColumnDescriptor -> ColumnDescriptor -> Bool # (/=) :: ColumnDescriptor -> ColumnDescriptor -> Bool # |
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 | |
|
data Breakpoint Source #
Information about a Breakpoint created in setBreakpoints or setFunctionBreakpoints.
Breakpoint | |
|
Instances
Read Breakpoint Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS Breakpoint # readList :: ReadS [Breakpoint] # readPrec :: ReadPrec Breakpoint # readListPrec :: ReadPrec [Breakpoint] # | |
Show Breakpoint Source # | |
Defined in Haskell.DAP showsPrec :: Int -> Breakpoint -> ShowS # show :: Breakpoint -> String # showList :: [Breakpoint] -> ShowS # | |
Eq Breakpoint Source # | |
Defined in Haskell.DAP (==) :: Breakpoint -> Breakpoint -> Bool # (/=) :: Breakpoint -> Breakpoint -> Bool # |
data ExceptionBreakpointsFilter Source #
An ExceptionBreakpointsFilter is shown in the UI as an option for configuring how exceptions are dealt with.
ExceptionBreakpointsFilter | |
|
Instances
Read ExceptionBreakpointsFilter Source # | |
Show ExceptionBreakpointsFilter Source # | |
Defined in Haskell.DAP showsPrec :: Int -> ExceptionBreakpointsFilter -> ShowS # show :: ExceptionBreakpointsFilter -> String # showList :: [ExceptionBreakpointsFilter] -> ShowS # | |
Eq ExceptionBreakpointsFilter Source # | |
Defined in Haskell.DAP |
initialize
data InitializeRequest Source #
Initialize request; value of command field is initialize
.
The initialize
request is sent as the first request from the client to the debug adapter in order to configure it with client capabilities and to retrieve capabilities from the debug adapter.
Until the debug adapter has responded to with an initialize
response, the client must not send any additional requests or events to the debug adapter. In addition the debug adapter is not allowed to send any requests or events to the client until it has responded with an initialize
response.
The initialize
request may only be sent once.
InitializeRequest | |
|
Instances
Read InitializeRequest Source # | |
Defined in Haskell.DAP | |
Show InitializeRequest Source # | |
Defined in Haskell.DAP showsPrec :: Int -> InitializeRequest -> ShowS # show :: InitializeRequest -> String # showList :: [InitializeRequest] -> ShowS # | |
Eq InitializeRequest Source # | |
Defined in Haskell.DAP (==) :: InitializeRequest -> InitializeRequest -> Bool # (/=) :: InitializeRequest -> InitializeRequest -> Bool # |
data InitializeRequestArguments Source #
Arguments for initialize
request.
InitializeRequestArguments | |
|
Instances
Read InitializeRequestArguments Source # | |
Show InitializeRequestArguments Source # | |
Defined in Haskell.DAP showsPrec :: Int -> InitializeRequestArguments -> ShowS # show :: InitializeRequestArguments -> String # showList :: [InitializeRequestArguments] -> ShowS # | |
Eq InitializeRequestArguments Source # | |
Defined in Haskell.DAP |
data InitializeResponse Source #
Response to initialize
request.
InitializeResponse | |
|
Instances
Read InitializeResponse Source # | |
Defined in Haskell.DAP | |
Show InitializeResponse Source # | |
Defined in Haskell.DAP showsPrec :: Int -> InitializeResponse -> ShowS # show :: InitializeResponse -> String # showList :: [InitializeResponse] -> ShowS # | |
Eq InitializeResponse Source # | |
Defined in Haskell.DAP (==) :: InitializeResponse -> InitializeResponse -> Bool # (/=) :: InitializeResponse -> InitializeResponse -> Bool # |
data InitializeResponseBody Source #
Information about the capabilities of a debug adapter.
InitializeResponseBody | |
|
Instances
Read InitializeResponseBody Source # | |
Defined in Haskell.DAP | |
Show InitializeResponseBody Source # | |
Defined in Haskell.DAP showsPrec :: Int -> InitializeResponseBody -> ShowS # show :: InitializeResponseBody -> String # showList :: [InitializeResponseBody] -> ShowS # | |
Eq InitializeResponseBody Source # | |
Defined in Haskell.DAP |
disconnect
data DisconnectRequest Source #
Disconnect request; value of command field is disconnect
.
The disconnect
request is sent from the client to the debug adapter in order to stop debugging.
It asks the debug adapter to disconnect from the debuggee and to terminate the debug adapter.
If the debuggee has been started with the launch
request, the disconnect
request terminates the debuggee.
If the attach
request was used to connect to the debuggee, disconnect
does not terminate the debuggee.
This behavior can be controlled with the terminateDebuggee
argument (if supported by the debug adapter).
DisconnectRequest | |
|
Instances
Read DisconnectRequest Source # | |
Defined in Haskell.DAP | |
Show DisconnectRequest Source # | |
Defined in Haskell.DAP showsPrec :: Int -> DisconnectRequest -> ShowS # show :: DisconnectRequest -> String # showList :: [DisconnectRequest] -> ShowS # | |
Eq DisconnectRequest Source # | |
Defined in Haskell.DAP (==) :: DisconnectRequest -> DisconnectRequest -> Bool # (/=) :: DisconnectRequest -> DisconnectRequest -> Bool # |
data DisconnectRequestArguments Source #
Arguments for disconnect
request.
DisconnectArguments | |
|
Instances
Read DisconnectRequestArguments Source # | |
Show DisconnectRequestArguments Source # | |
Defined in Haskell.DAP showsPrec :: Int -> DisconnectRequestArguments -> ShowS # show :: DisconnectRequestArguments -> String # showList :: [DisconnectRequestArguments] -> ShowS # | |
Eq DisconnectRequestArguments Source # | |
Defined in Haskell.DAP |
data DisconnectResponse Source #
Response to disconnect
request. This is just an acknowledgement, so no body field is required.
DisconnectResponse | |
|
Instances
Read DisconnectResponse Source # | |
Defined in Haskell.DAP | |
Show DisconnectResponse Source # | |
Defined in Haskell.DAP showsPrec :: Int -> DisconnectResponse -> ShowS # show :: DisconnectResponse -> String # showList :: [DisconnectResponse] -> ShowS # | |
Eq DisconnectResponse Source # | |
Defined in Haskell.DAP (==) :: DisconnectResponse -> DisconnectResponse -> Bool # (/=) :: DisconnectResponse -> DisconnectResponse -> Bool # |
pause
data PauseRequest Source #
Pause request; value of command field is "pause".
The request suspenses the debuggee.
The debug adapter first sends the response and then a stopped
event (with reason pause
) after the thread has been paused successfully.
PauseRequest | |
|
Instances
Read PauseRequest Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS PauseRequest # readList :: ReadS [PauseRequest] # | |
Show PauseRequest Source # | |
Defined in Haskell.DAP showsPrec :: Int -> PauseRequest -> ShowS # show :: PauseRequest -> String # showList :: [PauseRequest] -> ShowS # | |
Eq PauseRequest Source # | |
Defined in Haskell.DAP (==) :: PauseRequest -> PauseRequest -> Bool # (/=) :: PauseRequest -> PauseRequest -> Bool # |
data PauseRequestArguments Source #
Arguments for "pause" request.
PauseArguments | |
|
Instances
Read PauseRequestArguments Source # | |
Defined in Haskell.DAP | |
Show PauseRequestArguments Source # | |
Defined in Haskell.DAP showsPrec :: Int -> PauseRequestArguments -> ShowS # show :: PauseRequestArguments -> String # showList :: [PauseRequestArguments] -> ShowS # | |
Eq PauseRequestArguments Source # | |
Defined in Haskell.DAP (==) :: PauseRequestArguments -> PauseRequestArguments -> Bool # (/=) :: PauseRequestArguments -> PauseRequestArguments -> Bool # |
data PauseResponse Source #
Response to "pause" request. This is just an acknowledgement, so no body field is required.
PauseResponse | |
|
Instances
Read PauseResponse Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS PauseResponse # readList :: ReadS [PauseResponse] # | |
Show PauseResponse Source # | |
Defined in Haskell.DAP showsPrec :: Int -> PauseResponse -> ShowS # show :: PauseResponse -> String # showList :: [PauseResponse] -> ShowS # | |
Eq PauseResponse Source # | |
Defined in Haskell.DAP (==) :: PauseResponse -> PauseResponse -> Bool # (/=) :: PauseResponse -> PauseResponse -> Bool # |
terminate
data TerminateRequest Source #
Terminate request; value of command field is terminate
.
The terminate
request is sent from the client to the debug adapter in order to give the debuggee a chance for terminating itself.
TerminateRequest | |
|
Instances
Read TerminateRequest Source # | |
Defined in Haskell.DAP | |
Show TerminateRequest Source # | |
Defined in Haskell.DAP showsPrec :: Int -> TerminateRequest -> ShowS # show :: TerminateRequest -> String # showList :: [TerminateRequest] -> ShowS # | |
Eq TerminateRequest Source # | |
Defined in Haskell.DAP (==) :: TerminateRequest -> TerminateRequest -> Bool # (/=) :: TerminateRequest -> TerminateRequest -> Bool # |
data TerminateRequestArguments Source #
Arguments for terminate
request.
TerminateArguments | |
|
Instances
Read TerminateRequestArguments Source # | |
Show TerminateRequestArguments Source # | |
Defined in Haskell.DAP showsPrec :: Int -> TerminateRequestArguments -> ShowS # show :: TerminateRequestArguments -> String # showList :: [TerminateRequestArguments] -> ShowS # | |
Eq TerminateRequestArguments Source # | |
Defined in Haskell.DAP |
data TerminateResponse Source #
Response to terminate
request. This is just an acknowledgement, so no body field is required.
TerminateResponse | |
|
Instances
Read TerminateResponse Source # | |
Defined in Haskell.DAP | |
Show TerminateResponse Source # | |
Defined in Haskell.DAP showsPrec :: Int -> TerminateResponse -> ShowS # show :: TerminateResponse -> String # showList :: [TerminateResponse] -> ShowS # | |
Eq TerminateResponse Source # | |
Defined in Haskell.DAP (==) :: TerminateResponse -> TerminateResponse -> Bool # (/=) :: TerminateResponse -> TerminateResponse -> Bool # |
launch
data LaunchRequest Source #
Launch request; value of command field is launch
.
The launch request is sent from the client to the debug adapter to start the debuggee with or without debugging (if noDebug
is true).
Since launching is debugger/runtime specific, the arguments for this request are not part of this specification.
LaunchRequest | |
|
Instances
Read LaunchRequest Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS LaunchRequest # readList :: ReadS [LaunchRequest] # | |
Show LaunchRequest Source # | |
Defined in Haskell.DAP showsPrec :: Int -> LaunchRequest -> ShowS # show :: LaunchRequest -> String # showList :: [LaunchRequest] -> ShowS # | |
Eq LaunchRequest Source # | |
Defined in Haskell.DAP (==) :: LaunchRequest -> LaunchRequest -> Bool # (/=) :: LaunchRequest -> LaunchRequest -> Bool # |
data LaunchRequestArguments Source #
Arguments for launch
request. Additional attributes are implementation specific.
LaunchRequestArguments | |
|
Instances
Read LaunchRequestArguments Source # | |
Defined in Haskell.DAP | |
Show LaunchRequestArguments Source # | |
Defined in Haskell.DAP showsPrec :: Int -> LaunchRequestArguments -> ShowS # show :: LaunchRequestArguments -> String # showList :: [LaunchRequestArguments] -> ShowS # | |
Eq LaunchRequestArguments Source # | |
Defined in Haskell.DAP |
data LaunchResponse Source #
Response to launch
request. This is just an acknowledgement, so no body field is required.
LaunchResponse | |
|
Instances
Read LaunchResponse Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS LaunchResponse # readList :: ReadS [LaunchResponse] # | |
Show LaunchResponse Source # | |
Defined in Haskell.DAP showsPrec :: Int -> LaunchResponse -> ShowS # show :: LaunchResponse -> String # showList :: [LaunchResponse] -> ShowS # | |
Eq LaunchResponse Source # | |
Defined in Haskell.DAP (==) :: LaunchResponse -> LaunchResponse -> Bool # (/=) :: LaunchResponse -> LaunchResponse -> Bool # |
setBreakpoints
data SourceBreakpoint Source #
Properties of a breakpoint passed to the setBreakpoints request.
SourceBreakpoint | |
|
Instances
Read SourceBreakpoint Source # | |
Defined in Haskell.DAP | |
Show SourceBreakpoint Source # | |
Defined in Haskell.DAP showsPrec :: Int -> SourceBreakpoint -> ShowS # show :: SourceBreakpoint -> String # showList :: [SourceBreakpoint] -> ShowS # | |
Eq SourceBreakpoint Source # | |
Defined in Haskell.DAP (==) :: SourceBreakpoint -> SourceBreakpoint -> Bool # (/=) :: SourceBreakpoint -> SourceBreakpoint -> Bool # |
data SetBreakpointsRequest Source #
SetBreakpoints request; value of command field is "setBreakpoints".
Sets multiple breakpoints for a single source and clears all previous breakpoints in that source.
To clear all breakpoint for a source, specify an empty array.
When a breakpoint is hit, a StoppedEvent (event type breakpoint
) is generated.
SetBreakpointsRequest | |
|
Instances
Read SetBreakpointsRequest Source # | |
Defined in Haskell.DAP | |
Show SetBreakpointsRequest Source # | |
Defined in Haskell.DAP showsPrec :: Int -> SetBreakpointsRequest -> ShowS # show :: SetBreakpointsRequest -> String # showList :: [SetBreakpointsRequest] -> ShowS # | |
Eq SetBreakpointsRequest Source # | |
Defined in Haskell.DAP (==) :: SetBreakpointsRequest -> SetBreakpointsRequest -> Bool # (/=) :: SetBreakpointsRequest -> SetBreakpointsRequest -> Bool # |
data SetBreakpointsRequestArguments Source #
Arguments for setBreakpoints
request.
SetBreakpointsRequestArguments | |
|
Instances
data SetBreakpointsResponse 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 SetBreakpointsRequestArguments.
SetBreakpointsResponse | |
|
Instances
Read SetBreakpointsResponse Source # | |
Defined in Haskell.DAP | |
Show SetBreakpointsResponse Source # | |
Defined in Haskell.DAP showsPrec :: Int -> SetBreakpointsResponse -> ShowS # show :: SetBreakpointsResponse -> String # showList :: [SetBreakpointsResponse] -> ShowS # | |
Eq SetBreakpointsResponse Source # | |
Defined in Haskell.DAP |
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 SetBreakpointsRequestArguments.
SetBreakpointsResponseBody | |
|
Instances
Read SetBreakpointsResponseBody Source # | |
Show SetBreakpointsResponseBody Source # | |
Defined in Haskell.DAP showsPrec :: Int -> SetBreakpointsResponseBody -> ShowS # show :: SetBreakpointsResponseBody -> String # showList :: [SetBreakpointsResponseBody] -> ShowS # | |
Eq SetBreakpointsResponseBody Source # | |
Defined in Haskell.DAP |
setFunctionBreakpoints
data FunctionBreakpoint Source #
Properties of a breakpoint passed to the setFunctionBreakpoints request.
Instances
Read FunctionBreakpoint Source # | |
Defined in Haskell.DAP | |
Show FunctionBreakpoint Source # | |
Defined in Haskell.DAP showsPrec :: Int -> FunctionBreakpoint -> ShowS # show :: FunctionBreakpoint -> String # showList :: [FunctionBreakpoint] -> ShowS # | |
Eq FunctionBreakpoint Source # | |
Defined in Haskell.DAP (==) :: FunctionBreakpoint -> FunctionBreakpoint -> Bool # (/=) :: FunctionBreakpoint -> FunctionBreakpoint -> Bool # |
data SetFunctionBreakpointsRequest Source #
SetFunctionBreakpoints request; value of command field is "setFunctionBreakpoints".
Sets multiple function breakpoints and clears all previous function breakpoints.
To clear all function breakpoint, specify an empty array.
When a function breakpoint is hit, a StoppedEvent (event type 'function breakpoint') is generated.
SetFunctionBreakpointsRequest | |
|
Instances
Read SetFunctionBreakpointsRequest Source # | |
Show SetFunctionBreakpointsRequest Source # | |
Defined in Haskell.DAP showsPrec :: Int -> SetFunctionBreakpointsRequest -> ShowS # show :: SetFunctionBreakpointsRequest -> String # showList :: [SetFunctionBreakpointsRequest] -> ShowS # | |
Eq SetFunctionBreakpointsRequest Source # | |
Defined in Haskell.DAP |
data SetFunctionBreakpointsRequestArguments Source #
Arguments for setFunctionBreakpoints
request.
SetFunctionBreakpointsRequestArguments | |
|
data SetFunctionBreakpointsResponse Source #
Response to "setFunctionBreakpoints" request.
SetFunctionBreakpointsResponse | |
|
Instances
data SetFunctionBreakpointsResponseBody Source #
Response to setFunctionBreakpoints
request.
Returned is information about each breakpoint created by this request.
SetFunctionBreakpointsResponseBody | |
|
setExceptionBreakpoints
data SetExceptionBreakpointsRequest Source #
SetExceptionBreakpoints request; value of command field is setExceptionBreakpoints
.
The request configures the debuggers response to thrown exceptions. If an exception is configured to break,
a StoppedEvent is fired (event type exception
).
SetExceptionBreakpointsRequest | |
|
Instances
data SetExceptionBreakpointsRequestArguments Source #
Arguments for setExceptionBreakpoints
request.
SetExceptionBreakpointsRequestArguments | |
|
data SetExceptionBreakpointsResponse Source #
Response to setExceptionBreakpoints
request. This is just an acknowledgement, so no body field is required.
SetExceptionBreakpointsResponse | |
|
configurationDone
data ConfigurationDoneRequest Source #
ConfigurationDone request; value of command field is configurationDone
.
The client of the debug protocol must send this request at the end of the sequence of configuration requests
(which was started by the InitializedEvent).
ConfigurationDoneRequest | |
|
Instances
Read ConfigurationDoneRequest Source # | |
Show ConfigurationDoneRequest Source # | |
Defined in Haskell.DAP showsPrec :: Int -> ConfigurationDoneRequest -> ShowS # show :: ConfigurationDoneRequest -> String # showList :: [ConfigurationDoneRequest] -> ShowS # | |
Eq ConfigurationDoneRequest Source # | |
Defined in Haskell.DAP |
data ConfigurationDoneResponse Source #
Response to configurationDone
request. This is just an acknowledgement, so no body field is required.
ConfigurationDoneResponse | |
|
Instances
Read ConfigurationDoneResponse Source # | |
Show ConfigurationDoneResponse Source # | |
Defined in Haskell.DAP showsPrec :: Int -> ConfigurationDoneResponse -> ShowS # show :: ConfigurationDoneResponse -> String # showList :: [ConfigurationDoneResponse] -> ShowS # | |
Eq ConfigurationDoneResponse Source # | |
Defined in Haskell.DAP |
threads
data ThreadsRequest Source #
Thread request; value of command field is "threads".
The request retrieves a list of all threads.
ThreadsRequest | |
|
Instances
Read ThreadsRequest Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS ThreadsRequest # readList :: ReadS [ThreadsRequest] # | |
Show ThreadsRequest Source # | |
Defined in Haskell.DAP showsPrec :: Int -> ThreadsRequest -> ShowS # show :: ThreadsRequest -> String # showList :: [ThreadsRequest] -> ShowS # | |
Eq ThreadsRequest Source # | |
Defined in Haskell.DAP (==) :: ThreadsRequest -> ThreadsRequest -> Bool # (/=) :: ThreadsRequest -> ThreadsRequest -> Bool # |
A Thread is a name/value pair.
If the value is structured (has children), a handle is provided to retrieve the children with the ThreadsRequest.
Thread | |
|
data ThreadsResponse Source #
Response to "threads" request.
ThreadsResponse | |
|
Instances
Read ThreadsResponse Source # | |
Defined in Haskell.DAP | |
Show ThreadsResponse Source # | |
Defined in Haskell.DAP showsPrec :: Int -> ThreadsResponse -> ShowS # show :: ThreadsResponse -> String # showList :: [ThreadsResponse] -> ShowS # | |
Eq ThreadsResponse Source # | |
Defined in Haskell.DAP (==) :: ThreadsResponse -> ThreadsResponse -> Bool # (/=) :: ThreadsResponse -> ThreadsResponse -> Bool # |
data ThreadsResponseBody Source #
Response to "threads" request.
ThreadsResponseBody | |
|
Instances
Read ThreadsResponseBody Source # | |
Defined in Haskell.DAP | |
Show ThreadsResponseBody Source # | |
Defined in Haskell.DAP showsPrec :: Int -> ThreadsResponseBody -> ShowS # show :: ThreadsResponseBody -> String # showList :: [ThreadsResponseBody] -> ShowS # | |
Eq ThreadsResponseBody Source # | |
Defined in Haskell.DAP (==) :: ThreadsResponseBody -> ThreadsResponseBody -> Bool # (/=) :: ThreadsResponseBody -> ThreadsResponseBody -> Bool # |
stackTrace
data StackTraceRequest Source #
StackTrace request; value of command field is "stackTrace".
The request returns a stacktrace from the current execution state.
StackTraceRequest | |
|
Instances
Read StackTraceRequest Source # | |
Defined in Haskell.DAP | |
Show StackTraceRequest Source # | |
Defined in Haskell.DAP showsPrec :: Int -> StackTraceRequest -> ShowS # show :: StackTraceRequest -> String # showList :: [StackTraceRequest] -> ShowS # | |
Eq StackTraceRequest Source # | |
Defined in Haskell.DAP (==) :: StackTraceRequest -> StackTraceRequest -> Bool # (/=) :: StackTraceRequest -> StackTraceRequest -> Bool # |
data StackTraceRequestArguments Source #
Arguments for stackTrace
request.
StackTraceRequestArguments | |
|
Instances
Read StackTraceRequestArguments Source # | |
Show StackTraceRequestArguments Source # | |
Defined in Haskell.DAP showsPrec :: Int -> StackTraceRequestArguments -> ShowS # show :: StackTraceRequestArguments -> String # showList :: [StackTraceRequestArguments] -> ShowS # | |
Eq StackTraceRequestArguments Source # | |
Defined in Haskell.DAP |
data StackFrame Source #
A Stackframe contains the source location.
StackFrame | |
|
Instances
Read StackFrame Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS StackFrame # readList :: ReadS [StackFrame] # readPrec :: ReadPrec StackFrame # readListPrec :: ReadPrec [StackFrame] # | |
Show StackFrame Source # | |
Defined in Haskell.DAP showsPrec :: Int -> StackFrame -> ShowS # show :: StackFrame -> String # showList :: [StackFrame] -> ShowS # | |
Eq StackFrame Source # | |
Defined in Haskell.DAP (==) :: StackFrame -> StackFrame -> Bool # (/=) :: StackFrame -> StackFrame -> Bool # |
data StackTraceResponse Source #
Response to "stackTrace" request.
StackTraceResponse | |
|
Instances
Read StackTraceResponse Source # | |
Defined in Haskell.DAP | |
Show StackTraceResponse Source # | |
Defined in Haskell.DAP showsPrec :: Int -> StackTraceResponse -> ShowS # show :: StackTraceResponse -> String # showList :: [StackTraceResponse] -> ShowS # | |
Eq StackTraceResponse Source # | |
Defined in Haskell.DAP (==) :: StackTraceResponse -> StackTraceResponse -> Bool # (/=) :: StackTraceResponse -> StackTraceResponse -> Bool # |
data StackTraceResponseBody Source #
Response to stackTrace
request.
StackTraceResponseBody | |
|
Instances
Read StackTraceResponseBody Source # | |
Defined in Haskell.DAP | |
Show StackTraceResponseBody Source # | |
Defined in Haskell.DAP showsPrec :: Int -> StackTraceResponseBody -> ShowS # show :: StackTraceResponseBody -> String # showList :: [StackTraceResponseBody] -> ShowS # | |
Eq StackTraceResponseBody Source # | |
Defined in Haskell.DAP |
scopes
data ScopesRequest Source #
Scopes request; value of command field is "scopes".
The request returns the variable scopes for a given stackframe ID.
ScopesRequest | |
|
Instances
Read ScopesRequest Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS ScopesRequest # readList :: ReadS [ScopesRequest] # | |
Show ScopesRequest Source # | |
Defined in Haskell.DAP showsPrec :: Int -> ScopesRequest -> ShowS # show :: ScopesRequest -> String # showList :: [ScopesRequest] -> ShowS # | |
Eq ScopesRequest Source # | |
Defined in Haskell.DAP (==) :: ScopesRequest -> ScopesRequest -> Bool # (/=) :: ScopesRequest -> ScopesRequest -> Bool # |
data ScopesRequestArguments Source #
Arguments for "scopes" request.
ScopesRequestArguments | |
|
Instances
Read ScopesRequestArguments Source # | |
Defined in Haskell.DAP | |
Show ScopesRequestArguments Source # | |
Defined in Haskell.DAP showsPrec :: Int -> ScopesRequestArguments -> ShowS # show :: ScopesRequestArguments -> String # showList :: [ScopesRequestArguments] -> ShowS # | |
Eq ScopesRequestArguments Source # | |
Defined in Haskell.DAP |
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 #
data ScopesResponse Source #
Response to "scopes" request.
ScopesResponse | |
|
Instances
Read ScopesResponse Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS ScopesResponse # readList :: ReadS [ScopesResponse] # | |
Show ScopesResponse Source # | |
Defined in Haskell.DAP showsPrec :: Int -> ScopesResponse -> ShowS # show :: ScopesResponse -> String # showList :: [ScopesResponse] -> ShowS # | |
Eq ScopesResponse Source # | |
Defined in Haskell.DAP (==) :: ScopesResponse -> ScopesResponse -> Bool # (/=) :: ScopesResponse -> ScopesResponse -> Bool # |
data ScopesResponseBody Source #
Response to scopes
request.
ScopesResponseBody | |
|
Instances
Read ScopesResponseBody Source # | |
Defined in Haskell.DAP | |
Show ScopesResponseBody Source # | |
Defined in Haskell.DAP showsPrec :: Int -> ScopesResponseBody -> ShowS # show :: ScopesResponseBody -> String # showList :: [ScopesResponseBody] -> ShowS # | |
Eq ScopesResponseBody Source # | |
Defined in Haskell.DAP (==) :: ScopesResponseBody -> ScopesResponseBody -> Bool # (/=) :: ScopesResponseBody -> ScopesResponseBody -> Bool # |
variables
data VariablesRequest Source #
Variables request; value of command field is "variables".
Retrieves all children for the given variable reference.
VariablesRequest | |
|
Instances
Read VariablesRequest Source # | |
Defined in Haskell.DAP | |
Show VariablesRequest Source # | |
Defined in Haskell.DAP showsPrec :: Int -> VariablesRequest -> ShowS # show :: VariablesRequest -> String # showList :: [VariablesRequest] -> ShowS # | |
Eq VariablesRequest Source # | |
Defined in Haskell.DAP (==) :: VariablesRequest -> VariablesRequest -> Bool # (/=) :: VariablesRequest -> VariablesRequest -> Bool # |
data VariablesRequestArguments Source #
Arguments for variables
request.
VariablesRequestArguments | |
|
Instances
Read VariablesRequestArguments Source # | |
Show VariablesRequestArguments Source # | |
Defined in Haskell.DAP showsPrec :: Int -> VariablesRequestArguments -> ShowS # show :: VariablesRequestArguments -> String # showList :: [VariablesRequestArguments] -> ShowS # | |
Eq VariablesRequestArguments Source # | |
Defined in Haskell.DAP |
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 | |
|
data VariablePresentationHint Source #
Optional properties of a variable that can be used to determine how to render the variable in the UI.
VariablePresentationHint | |
|
Instances
Read VariablePresentationHint Source # | |
Show VariablePresentationHint Source # | |
Defined in Haskell.DAP showsPrec :: Int -> VariablePresentationHint -> ShowS # show :: VariablePresentationHint -> String # showList :: [VariablePresentationHint] -> ShowS # | |
Eq VariablePresentationHint Source # | |
Defined in Haskell.DAP |
data VariablesResponse Source #
Response to "variables" request.
VariablesResponse | |
|
Instances
Read VariablesResponse Source # | |
Defined in Haskell.DAP | |
Show VariablesResponse Source # | |
Defined in Haskell.DAP showsPrec :: Int -> VariablesResponse -> ShowS # show :: VariablesResponse -> String # showList :: [VariablesResponse] -> ShowS # | |
Eq VariablesResponse Source # | |
Defined in Haskell.DAP (==) :: VariablesResponse -> VariablesResponse -> Bool # (/=) :: VariablesResponse -> VariablesResponse -> Bool # |
data VariablesResponseBody Source #
Response to "variables" request.
VariablesResponseBody | |
|
Instances
Read VariablesResponseBody Source # | |
Defined in Haskell.DAP | |
Show VariablesResponseBody Source # | |
Defined in Haskell.DAP showsPrec :: Int -> VariablesResponseBody -> ShowS # show :: VariablesResponseBody -> String # showList :: [VariablesResponseBody] -> ShowS # | |
Eq VariablesResponseBody Source # | |
Defined in Haskell.DAP (==) :: VariablesResponseBody -> VariablesResponseBody -> Bool # (/=) :: VariablesResponseBody -> VariablesResponseBody -> Bool # |
source
data SourceRequest Source #
Source request; value of command field is "source".
Retrieves the content of the file which the debugger steps into.
SourceRequest | |
|
Instances
Read SourceRequest Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS SourceRequest # readList :: ReadS [SourceRequest] # | |
Show SourceRequest Source # | |
Defined in Haskell.DAP showsPrec :: Int -> SourceRequest -> ShowS # show :: SourceRequest -> String # showList :: [SourceRequest] -> ShowS # | |
Eq SourceRequest Source # | |
Defined in Haskell.DAP (==) :: SourceRequest -> SourceRequest -> Bool # (/=) :: SourceRequest -> SourceRequest -> Bool # |
data SourceRequestArguments Source #
Arguments for source
request.
SourceRequestArguments | |
|
Instances
Read SourceRequestArguments Source # | |
Defined in Haskell.DAP | |
Show SourceRequestArguments Source # | |
Defined in Haskell.DAP showsPrec :: Int -> SourceRequestArguments -> ShowS # show :: SourceRequestArguments -> String # showList :: [SourceRequestArguments] -> ShowS # | |
Eq SourceRequestArguments Source # | |
Defined in Haskell.DAP |
data SourceResponse Source #
Response to "source" request.
SourceResponse | |
|
Instances
Read SourceResponse Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS SourceResponse # readList :: ReadS [SourceResponse] # | |
Show SourceResponse Source # | |
Defined in Haskell.DAP showsPrec :: Int -> SourceResponse -> ShowS # show :: SourceResponse -> String # showList :: [SourceResponse] -> ShowS # | |
Eq SourceResponse Source # | |
Defined in Haskell.DAP (==) :: SourceResponse -> SourceResponse -> Bool # (/=) :: SourceResponse -> SourceResponse -> Bool # |
data SourceResponseBody Source #
Response to "source" request.
SourceResponseBody | |
|
Instances
Read SourceResponseBody Source # | |
Defined in Haskell.DAP | |
Show SourceResponseBody Source # | |
Defined in Haskell.DAP showsPrec :: Int -> SourceResponseBody -> ShowS # show :: SourceResponseBody -> String # showList :: [SourceResponseBody] -> ShowS # | |
Eq SourceResponseBody Source # | |
Defined in Haskell.DAP (==) :: SourceResponseBody -> SourceResponseBody -> Bool # (/=) :: SourceResponseBody -> SourceResponseBody -> Bool # |
continue
data ContinueRequest Source #
Continue request; value of command field is "continue".
The request starts the debuggee to run again.
ContinueRequest | |
|
Instances
Read ContinueRequest Source # | |
Defined in Haskell.DAP | |
Show ContinueRequest Source # | |
Defined in Haskell.DAP showsPrec :: Int -> ContinueRequest -> ShowS # show :: ContinueRequest -> String # showList :: [ContinueRequest] -> ShowS # | |
Eq ContinueRequest Source # | |
Defined in Haskell.DAP (==) :: ContinueRequest -> ContinueRequest -> Bool # (/=) :: ContinueRequest -> ContinueRequest -> Bool # |
data ContinueRequestArguments Source #
Arguments for continue
request.
ContinueRequestArguments | |
|
Instances
Read ContinueRequestArguments Source # | |
Show ContinueRequestArguments Source # | |
Defined in Haskell.DAP showsPrec :: Int -> ContinueRequestArguments -> ShowS # show :: ContinueRequestArguments -> String # showList :: [ContinueRequestArguments] -> ShowS # | |
Eq ContinueRequestArguments Source # | |
Defined in Haskell.DAP |
data ContinueResponse Source #
Response to "continue" request. This is just an acknowledgement, so no body field is required.
ContinueResponse | |
|
Instances
Read ContinueResponse Source # | |
Defined in Haskell.DAP | |
Show ContinueResponse Source # | |
Defined in Haskell.DAP showsPrec :: Int -> ContinueResponse -> ShowS # show :: ContinueResponse -> String # showList :: [ContinueResponse] -> ShowS # | |
Eq ContinueResponse Source # | |
Defined in Haskell.DAP (==) :: ContinueResponse -> ContinueResponse -> Bool # (/=) :: ContinueResponse -> ContinueResponse -> Bool # |
next
data NextRequest Source #
Next request; value of command field is "next".
The request starts the debuggee to run again for one step.
penDebug will respond with a StoppedEvent (event type step
) after running the step.
NextRequest | |
|
Instances
Read NextRequest Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS NextRequest # readList :: ReadS [NextRequest] # readPrec :: ReadPrec NextRequest # readListPrec :: ReadPrec [NextRequest] # | |
Show NextRequest Source # | |
Defined in Haskell.DAP showsPrec :: Int -> NextRequest -> ShowS # show :: NextRequest -> String # showList :: [NextRequest] -> ShowS # | |
Eq NextRequest Source # | |
Defined in Haskell.DAP (==) :: NextRequest -> NextRequest -> Bool # (/=) :: NextRequest -> NextRequest -> Bool # |
data NextRequestArguments Source #
Arguments for next
request.
NextRequestArguments | |
|
Instances
Read NextRequestArguments Source # | |
Defined in Haskell.DAP | |
Show NextRequestArguments Source # | |
Defined in Haskell.DAP showsPrec :: Int -> NextRequestArguments -> ShowS # show :: NextRequestArguments -> String # showList :: [NextRequestArguments] -> ShowS # | |
Eq NextRequestArguments Source # | |
Defined in Haskell.DAP (==) :: NextRequestArguments -> NextRequestArguments -> Bool # (/=) :: NextRequestArguments -> NextRequestArguments -> Bool # |
data NextResponse Source #
Response to "next" request. This is just an acknowledgement, so no body field is required.
NextResponse | |
|
Instances
Read NextResponse Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS NextResponse # readList :: ReadS [NextResponse] # | |
Show NextResponse Source # | |
Defined in Haskell.DAP showsPrec :: Int -> NextResponse -> ShowS # show :: NextResponse -> String # showList :: [NextResponse] -> ShowS # | |
Eq NextResponse Source # | |
Defined in Haskell.DAP (==) :: NextResponse -> NextResponse -> Bool # (/=) :: NextResponse -> NextResponse -> Bool # |
stepIn
data StepInRequest Source #
StepIn request; value of command field is "stepIn".
The request starts the debuggee to run again for one step.
The debug adapter will respond with a StoppedEvent (event type step
) after running the step.
StepInRequest | |
|
Instances
Read StepInRequest Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS StepInRequest # readList :: ReadS [StepInRequest] # | |
Show StepInRequest Source # | |
Defined in Haskell.DAP showsPrec :: Int -> StepInRequest -> ShowS # show :: StepInRequest -> String # showList :: [StepInRequest] -> ShowS # | |
Eq StepInRequest Source # | |
Defined in Haskell.DAP (==) :: StepInRequest -> StepInRequest -> Bool # (/=) :: StepInRequest -> StepInRequest -> Bool # |
data StepInRequestArguments Source #
Arguments for stepIn
request.
StepInRequestArguments | |
|
Instances
Read StepInRequestArguments Source # | |
Defined in Haskell.DAP | |
Show StepInRequestArguments Source # | |
Defined in Haskell.DAP showsPrec :: Int -> StepInRequestArguments -> ShowS # show :: StepInRequestArguments -> String # showList :: [StepInRequestArguments] -> ShowS # | |
Eq StepInRequestArguments Source # | |
Defined in Haskell.DAP |
data StepInResponse Source #
Response to "stepIn" request. This is just an acknowledgement, so no body field is required.
StepInResponse | |
|
Instances
Read StepInResponse Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS StepInResponse # readList :: ReadS [StepInResponse] # | |
Show StepInResponse Source # | |
Defined in Haskell.DAP showsPrec :: Int -> StepInResponse -> ShowS # show :: StepInResponse -> String # showList :: [StepInResponse] -> ShowS # | |
Eq StepInResponse Source # | |
Defined in Haskell.DAP (==) :: StepInResponse -> StepInResponse -> Bool # (/=) :: StepInResponse -> StepInResponse -> Bool # |
evaluate
data EvaluateRequest Source #
Evaluate request; value of command field is "evaluate".
Evaluates the given expression in the context of the top most stack frame.
The expression has access to any variables and arguments that are in scope.
EvaluateRequest | |
|
Instances
Read EvaluateRequest Source # | |
Defined in Haskell.DAP | |
Show EvaluateRequest Source # | |
Defined in Haskell.DAP showsPrec :: Int -> EvaluateRequest -> ShowS # show :: EvaluateRequest -> String # showList :: [EvaluateRequest] -> ShowS # | |
Eq EvaluateRequest Source # | |
Defined in Haskell.DAP (==) :: EvaluateRequest -> EvaluateRequest -> Bool # (/=) :: EvaluateRequest -> EvaluateRequest -> Bool # |
data EvaluateRequestArguments Source #
rguments for evaluate
request.
EvaluateRequestArguments | |
|
Instances
Read EvaluateRequestArguments Source # | |
Show EvaluateRequestArguments Source # | |
Defined in Haskell.DAP showsPrec :: Int -> EvaluateRequestArguments -> ShowS # show :: EvaluateRequestArguments -> String # showList :: [EvaluateRequestArguments] -> ShowS # | |
Eq EvaluateRequestArguments Source # | |
Defined in Haskell.DAP |
data EvaluateResponse Source #
Response to "evaluate" request.
EvaluateResponse | |
|
Instances
Read EvaluateResponse Source # | |
Defined in Haskell.DAP | |
Show EvaluateResponse Source # | |
Defined in Haskell.DAP showsPrec :: Int -> EvaluateResponse -> ShowS # show :: EvaluateResponse -> String # showList :: [EvaluateResponse] -> ShowS # | |
Eq EvaluateResponse Source # | |
Defined in Haskell.DAP (==) :: EvaluateResponse -> EvaluateResponse -> Bool # (/=) :: EvaluateResponse -> EvaluateResponse -> Bool # |
data EvaluateResponseBody Source #
Response to "evaluate" request.
EvaluateResponseBody | |
|
Instances
Read EvaluateResponseBody Source # | |
Defined in Haskell.DAP | |
Show EvaluateResponseBody Source # | |
Defined in Haskell.DAP showsPrec :: Int -> EvaluateResponseBody -> ShowS # show :: EvaluateResponseBody -> String # showList :: [EvaluateResponseBody] -> ShowS # | |
Eq EvaluateResponseBody Source # | |
Defined in Haskell.DAP (==) :: EvaluateResponseBody -> EvaluateResponseBody -> Bool # (/=) :: EvaluateResponseBody -> EvaluateResponseBody -> Bool # |
completions
data CompletionsRequest Source #
CompletionsRequest request; value of command field is completions
.
Returns a list of possible completions for a given caret position and text.
The CompletionsRequest may only be called if the supportsCompletionsRequest
capability exists and is true.
CompletionsRequest | |
|
Instances
Read CompletionsRequest Source # | |
Defined in Haskell.DAP | |
Show CompletionsRequest Source # | |
Defined in Haskell.DAP showsPrec :: Int -> CompletionsRequest -> ShowS # show :: CompletionsRequest -> String # showList :: [CompletionsRequest] -> ShowS # | |
Eq CompletionsRequest Source # | |
Defined in Haskell.DAP (==) :: CompletionsRequest -> CompletionsRequest -> Bool # (/=) :: CompletionsRequest -> CompletionsRequest -> Bool # |
data CompletionsRequestArguments Source #
Arguments for completions
request.
CompletionsRequestArguments | |
|
Instances
Read CompletionsRequestArguments Source # | |
Show CompletionsRequestArguments Source # | |
Defined in Haskell.DAP showsPrec :: Int -> CompletionsRequestArguments -> ShowS # show :: CompletionsRequestArguments -> String # showList :: [CompletionsRequestArguments] -> ShowS # | |
Eq CompletionsRequestArguments Source # | |
Defined in Haskell.DAP |
data CompletionsItem Source #
CompletionItems are the suggestions returned from the CompletionsRequest.
CompletionsItem | |
|
Instances
Read CompletionsItem Source # | |
Defined in Haskell.DAP | |
Show CompletionsItem Source # | |
Defined in Haskell.DAP showsPrec :: Int -> CompletionsItem -> ShowS # show :: CompletionsItem -> String # showList :: [CompletionsItem] -> ShowS # | |
Eq CompletionsItem Source # | |
Defined in Haskell.DAP (==) :: CompletionsItem -> CompletionsItem -> Bool # (/=) :: CompletionsItem -> CompletionsItem -> Bool # |
data CompletionsResponse Source #
Response to completions
request.
CompletionsResponse | |
|
Instances
Read CompletionsResponse Source # | |
Defined in Haskell.DAP | |
Show CompletionsResponse Source # | |
Defined in Haskell.DAP showsPrec :: Int -> CompletionsResponse -> ShowS # show :: CompletionsResponse -> String # showList :: [CompletionsResponse] -> ShowS # | |
Eq CompletionsResponse Source # | |
Defined in Haskell.DAP (==) :: CompletionsResponse -> CompletionsResponse -> Bool # (/=) :: CompletionsResponse -> CompletionsResponse -> Bool # |
data CompletionsResponseBody Source #
Response to completions
request.
CompletionsResponseBody | |
|
Instances
Read CompletionsResponseBody Source # | |
Defined in Haskell.DAP | |
Show CompletionsResponseBody Source # | |
Defined in Haskell.DAP showsPrec :: Int -> CompletionsResponseBody -> ShowS # show :: CompletionsResponseBody -> String # showList :: [CompletionsResponseBody] -> ShowS # | |
Eq CompletionsResponseBody Source # | |
Defined in Haskell.DAP |
event
data OutputEvent Source #
Event message for "output" event type. The event indicates that the target has produced output.
OutputEvent | |
|
Instances
Read OutputEvent Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS OutputEvent # readList :: ReadS [OutputEvent] # readPrec :: ReadPrec OutputEvent # readListPrec :: ReadPrec [OutputEvent] # | |
Show OutputEvent Source # | |
Defined in Haskell.DAP showsPrec :: Int -> OutputEvent -> ShowS # show :: OutputEvent -> String # showList :: [OutputEvent] -> ShowS # | |
Eq OutputEvent Source # | |
Defined in Haskell.DAP (==) :: OutputEvent -> OutputEvent -> Bool # (/=) :: OutputEvent -> OutputEvent -> Bool # |
data OutputEventBody Source #
Event message for "output" event type. The event indicates that the target has produced output.
OutputEventBody | |
|
Instances
Read OutputEventBody Source # | |
Defined in Haskell.DAP | |
Show OutputEventBody Source # | |
Defined in Haskell.DAP showsPrec :: Int -> OutputEventBody -> ShowS # show :: OutputEventBody -> String # showList :: [OutputEventBody] -> ShowS # | |
Eq OutputEventBody Source # | |
Defined in Haskell.DAP (==) :: OutputEventBody -> OutputEventBody -> Bool # (/=) :: OutputEventBody -> OutputEventBody -> Bool # |
data InitializedEvent Source #
Server-initiated response to client request
InitializedEvent | |
|
Instances
Read InitializedEvent Source # | |
Defined in Haskell.DAP | |
Show InitializedEvent Source # | |
Defined in Haskell.DAP showsPrec :: Int -> InitializedEvent -> ShowS # show :: InitializedEvent -> String # showList :: [InitializedEvent] -> ShowS # | |
Eq InitializedEvent Source # | |
Defined in Haskell.DAP (==) :: InitializedEvent -> InitializedEvent -> Bool # (/=) :: InitializedEvent -> InitializedEvent -> Bool # |
data TerminatedEvent Source #
Event message for "terminated" event types.
The event indicates that debugging of the debuggee has terminated.
TerminatedEvent | |
|
Instances
Read TerminatedEvent Source # | |
Defined in Haskell.DAP | |
Show TerminatedEvent Source # | |
Defined in Haskell.DAP showsPrec :: Int -> TerminatedEvent -> ShowS # show :: TerminatedEvent -> String # showList :: [TerminatedEvent] -> ShowS # | |
Eq TerminatedEvent Source # | |
Defined in Haskell.DAP (==) :: TerminatedEvent -> TerminatedEvent -> Bool # (/=) :: TerminatedEvent -> TerminatedEvent -> Bool # |
data TerminatedEventBody Source #
Event message for "terminated" event types.
The event indicates that debugging of the debuggee has terminated.
TerminatedEventBody | |
|
Instances
Read TerminatedEventBody Source # | |
Defined in Haskell.DAP | |
Show TerminatedEventBody Source # | |
Defined in Haskell.DAP showsPrec :: Int -> TerminatedEventBody -> ShowS # show :: TerminatedEventBody -> String # showList :: [TerminatedEventBody] -> ShowS # | |
Eq TerminatedEventBody Source # | |
Defined in Haskell.DAP (==) :: TerminatedEventBody -> TerminatedEventBody -> Bool # (/=) :: TerminatedEventBody -> TerminatedEventBody -> Bool # |
data ExitedEvent Source #
Event message for "exited" event types.
ExitedEvent | |
|
Instances
Read ExitedEvent Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS ExitedEvent # readList :: ReadS [ExitedEvent] # readPrec :: ReadPrec ExitedEvent # readListPrec :: ReadPrec [ExitedEvent] # | |
Show ExitedEvent Source # | |
Defined in Haskell.DAP showsPrec :: Int -> ExitedEvent -> ShowS # show :: ExitedEvent -> String # showList :: [ExitedEvent] -> ShowS # | |
Eq ExitedEvent Source # | |
Defined in Haskell.DAP (==) :: ExitedEvent -> ExitedEvent -> Bool # (/=) :: ExitedEvent -> ExitedEvent -> Bool # |
data ExitedEventBody Source #
Event message for "exited" event types.
The exit code returned from the debuggee.
Instances
Read ExitedEventBody Source # | |
Defined in Haskell.DAP | |
Show ExitedEventBody Source # | |
Defined in Haskell.DAP showsPrec :: Int -> ExitedEventBody -> ShowS # show :: ExitedEventBody -> String # showList :: [ExitedEventBody] -> ShowS # | |
Eq ExitedEventBody Source # | |
Defined in Haskell.DAP (==) :: ExitedEventBody -> ExitedEventBody -> Bool # (/=) :: ExitedEventBody -> ExitedEventBody -> Bool # |
data ContinuedEvent Source #
Event message for continued
event type.
The event indicates that the execution of the debuggee has continued.
Please note: a debug adapter is not expected to send this event in response to a request that implies that execution continues, e.g. launch
or continue
.
It is only necessary to send a continued
event if there was no previous request that implied this.
ContinuedEvent | |
|
Instances
Read ContinuedEvent Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS ContinuedEvent # readList :: ReadS [ContinuedEvent] # | |
Show ContinuedEvent Source # | |
Defined in Haskell.DAP showsPrec :: Int -> ContinuedEvent -> ShowS # show :: ContinuedEvent -> String # showList :: [ContinuedEvent] -> ShowS # | |
Eq ContinuedEvent Source # | |
Defined in Haskell.DAP (==) :: ContinuedEvent -> ContinuedEvent -> Bool # (/=) :: ContinuedEvent -> ContinuedEvent -> Bool # |
data ContinuedEventBody Source #
Body of ContinuedEvent
ContinuedEventBody | |
|
Instances
Read ContinuedEventBody Source # | |
Defined in Haskell.DAP | |
Show ContinuedEventBody Source # | |
Defined in Haskell.DAP showsPrec :: Int -> ContinuedEventBody -> ShowS # show :: ContinuedEventBody -> String # showList :: [ContinuedEventBody] -> ShowS # | |
Eq ContinuedEventBody Source # | |
Defined in Haskell.DAP (==) :: ContinuedEventBody -> ContinuedEventBody -> Bool # (/=) :: ContinuedEventBody -> ContinuedEventBody -> Bool # |
data StoppedEvent 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.
StoppedEvent | |
|
Instances
Read StoppedEvent Source # | |
Defined in Haskell.DAP readsPrec :: Int -> ReadS StoppedEvent # readList :: ReadS [StoppedEvent] # | |
Show StoppedEvent Source # | |
Defined in Haskell.DAP showsPrec :: Int -> StoppedEvent -> ShowS # show :: StoppedEvent -> String # showList :: [StoppedEvent] -> ShowS # | |
Eq StoppedEvent Source # | |
Defined in Haskell.DAP (==) :: StoppedEvent -> StoppedEvent -> Bool # (/=) :: StoppedEvent -> StoppedEvent -> Bool # |
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
Read StoppedEventBody Source # | |
Defined in Haskell.DAP | |
Show StoppedEventBody Source # | |
Defined in Haskell.DAP showsPrec :: Int -> StoppedEventBody -> ShowS # show :: StoppedEventBody -> String # showList :: [StoppedEventBody] -> ShowS # | |
Eq StoppedEventBody Source # | |
Defined in Haskell.DAP (==) :: StoppedEventBody -> StoppedEventBody -> Bool # (/=) :: StoppedEventBody -> StoppedEventBody -> Bool # |