| Copyright | 2017-2019 phoityne_hs |
|---|---|
| License | BSD3 |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Haskell.DAP
Contents
Description
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
- 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 {}
- 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 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
Constructors
| Request | |
Fields
| |
Response for a request.
Constructors
| Response | |
Fields
| |
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.
Constructors
| ColumnDescriptor | |
Fields
| |
Instances
| Eq ColumnDescriptor Source # | |
Defined in Haskell.DAP Methods (==) :: ColumnDescriptor -> ColumnDescriptor -> Bool # (/=) :: ColumnDescriptor -> ColumnDescriptor -> Bool # | |
| Read ColumnDescriptor Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS ColumnDescriptor # readList :: ReadS [ColumnDescriptor] # | |
| Show ColumnDescriptor Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> ColumnDescriptor -> ShowS # show :: ColumnDescriptor -> String # showList :: [ColumnDescriptor] -> 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
| |
data Breakpoint Source #
Information about a Breakpoint created in setBreakpoints or setFunctionBreakpoints.
Constructors
| Breakpoint | |
Fields
| |
Instances
| Eq Breakpoint Source # | |
Defined in Haskell.DAP | |
| Read Breakpoint Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS Breakpoint # readList :: ReadS [Breakpoint] # readPrec :: ReadPrec Breakpoint # readListPrec :: ReadPrec [Breakpoint] # | |
| Show Breakpoint Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> Breakpoint -> ShowS # show :: Breakpoint -> String # showList :: [Breakpoint] -> ShowS # | |
data ExceptionBreakpointsFilter Source #
An ExceptionBreakpointsFilter is shown in the UI as an option for configuring how exceptions are dealt with.
Constructors
| ExceptionBreakpointsFilter | |
Fields
| |
Instances
| Eq ExceptionBreakpointsFilter Source # | |
Defined in Haskell.DAP Methods (==) :: ExceptionBreakpointsFilter -> ExceptionBreakpointsFilter -> Bool # (/=) :: ExceptionBreakpointsFilter -> ExceptionBreakpointsFilter -> Bool # | |
| Read ExceptionBreakpointsFilter Source # | |
Defined in Haskell.DAP | |
| Show ExceptionBreakpointsFilter Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> ExceptionBreakpointsFilter -> ShowS # show :: ExceptionBreakpointsFilter -> String # showList :: [ExceptionBreakpointsFilter] -> ShowS # | |
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.
Constructors
| InitializeRequest | |
Fields
| |
Instances
| Eq InitializeRequest Source # | |
Defined in Haskell.DAP Methods (==) :: InitializeRequest -> InitializeRequest -> Bool # (/=) :: InitializeRequest -> InitializeRequest -> Bool # | |
| Read InitializeRequest Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS InitializeRequest # readList :: ReadS [InitializeRequest] # | |
| Show InitializeRequest Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> InitializeRequest -> ShowS # show :: InitializeRequest -> String # showList :: [InitializeRequest] -> ShowS # | |
data InitializeRequestArguments Source #
Arguments for initialize request.
Constructors
| InitializeRequestArguments | |
Fields
| |
Instances
| Eq InitializeRequestArguments Source # | |
Defined in Haskell.DAP Methods (==) :: InitializeRequestArguments -> InitializeRequestArguments -> Bool # (/=) :: InitializeRequestArguments -> InitializeRequestArguments -> Bool # | |
| Read InitializeRequestArguments Source # | |
Defined in Haskell.DAP | |
| Show InitializeRequestArguments Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> InitializeRequestArguments -> ShowS # show :: InitializeRequestArguments -> String # showList :: [InitializeRequestArguments] -> ShowS # | |
data InitializeResponse Source #
Response to initialize request.
Constructors
| InitializeResponse | |
Fields
| |
Instances
| Eq InitializeResponse Source # | |
Defined in Haskell.DAP Methods (==) :: InitializeResponse -> InitializeResponse -> Bool # (/=) :: InitializeResponse -> InitializeResponse -> Bool # | |
| Read InitializeResponse Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS InitializeResponse # readList :: ReadS [InitializeResponse] # | |
| Show InitializeResponse Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> InitializeResponse -> ShowS # show :: InitializeResponse -> String # showList :: [InitializeResponse] -> ShowS # | |
data InitializeResponseBody Source #
Information about the capabilities of a debug adapter.
Constructors
| InitializeResponseBody | |
Fields
| |
Instances
| Eq InitializeResponseBody Source # | |
Defined in Haskell.DAP Methods (==) :: InitializeResponseBody -> InitializeResponseBody -> Bool # (/=) :: InitializeResponseBody -> InitializeResponseBody -> Bool # | |
| Read InitializeResponseBody Source # | |
Defined in Haskell.DAP | |
| Show InitializeResponseBody Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> InitializeResponseBody -> ShowS # show :: InitializeResponseBody -> String # showList :: [InitializeResponseBody] -> ShowS # | |
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).
Constructors
| DisconnectRequest | |
Fields
| |
Instances
| Eq DisconnectRequest Source # | |
Defined in Haskell.DAP Methods (==) :: DisconnectRequest -> DisconnectRequest -> Bool # (/=) :: DisconnectRequest -> DisconnectRequest -> Bool # | |
| Read DisconnectRequest Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS DisconnectRequest # readList :: ReadS [DisconnectRequest] # | |
| Show DisconnectRequest Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> DisconnectRequest -> ShowS # show :: DisconnectRequest -> String # showList :: [DisconnectRequest] -> ShowS # | |
data DisconnectRequestArguments Source #
Arguments for disconnect request.
Constructors
| DisconnectArguments | |
Fields
| |
Instances
| Eq DisconnectRequestArguments Source # | |
Defined in Haskell.DAP Methods (==) :: DisconnectRequestArguments -> DisconnectRequestArguments -> Bool # (/=) :: DisconnectRequestArguments -> DisconnectRequestArguments -> Bool # | |
| Read DisconnectRequestArguments Source # | |
Defined in Haskell.DAP | |
| Show DisconnectRequestArguments Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> DisconnectRequestArguments -> ShowS # show :: DisconnectRequestArguments -> String # showList :: [DisconnectRequestArguments] -> ShowS # | |
data DisconnectResponse Source #
Response to disconnect request. This is just an acknowledgement, so no body field is required.
Constructors
| DisconnectResponse | |
Fields
| |
Instances
| Eq DisconnectResponse Source # | |
Defined in Haskell.DAP Methods (==) :: DisconnectResponse -> DisconnectResponse -> Bool # (/=) :: DisconnectResponse -> DisconnectResponse -> Bool # | |
| Read DisconnectResponse Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS DisconnectResponse # readList :: ReadS [DisconnectResponse] # | |
| Show DisconnectResponse Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> DisconnectResponse -> ShowS # show :: DisconnectResponse -> String # showList :: [DisconnectResponse] -> ShowS # | |
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.
Constructors
| PauseRequest | |
Fields
| |
Instances
| Eq PauseRequest Source # | |
Defined in Haskell.DAP | |
| Read PauseRequest Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS PauseRequest # readList :: ReadS [PauseRequest] # | |
| Show PauseRequest Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> PauseRequest -> ShowS # show :: PauseRequest -> String # showList :: [PauseRequest] -> ShowS # | |
data PauseRequestArguments Source #
Arguments for "pause" request.
Constructors
| PauseArguments | |
Fields
| |
Instances
| Eq PauseRequestArguments Source # | |
Defined in Haskell.DAP Methods (==) :: PauseRequestArguments -> PauseRequestArguments -> Bool # (/=) :: PauseRequestArguments -> PauseRequestArguments -> Bool # | |
| Read PauseRequestArguments Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS PauseRequestArguments # readList :: ReadS [PauseRequestArguments] # | |
| Show PauseRequestArguments Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> PauseRequestArguments -> ShowS # show :: PauseRequestArguments -> String # showList :: [PauseRequestArguments] -> ShowS # | |
data PauseResponse Source #
Response to "pause" request. This is just an acknowledgement, so no body field is required.
Constructors
| PauseResponse | |
Fields
| |
Instances
| Eq PauseResponse Source # | |
Defined in Haskell.DAP Methods (==) :: PauseResponse -> PauseResponse -> Bool # (/=) :: PauseResponse -> PauseResponse -> Bool # | |
| Read PauseResponse Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS PauseResponse # readList :: ReadS [PauseResponse] # | |
| Show PauseResponse Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> PauseResponse -> ShowS # show :: PauseResponse -> String # showList :: [PauseResponse] -> ShowS # | |
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.
Constructors
| TerminateRequest | |
Fields
| |
Instances
| Eq TerminateRequest Source # | |
Defined in Haskell.DAP Methods (==) :: TerminateRequest -> TerminateRequest -> Bool # (/=) :: TerminateRequest -> TerminateRequest -> Bool # | |
| Read TerminateRequest Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS TerminateRequest # readList :: ReadS [TerminateRequest] # | |
| Show TerminateRequest Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> TerminateRequest -> ShowS # show :: TerminateRequest -> String # showList :: [TerminateRequest] -> ShowS # | |
data TerminateRequestArguments Source #
Arguments for terminate request.
Constructors
| TerminateArguments | |
Fields
| |
Instances
| Eq TerminateRequestArguments Source # | |
Defined in Haskell.DAP Methods (==) :: TerminateRequestArguments -> TerminateRequestArguments -> Bool # (/=) :: TerminateRequestArguments -> TerminateRequestArguments -> Bool # | |
| Read TerminateRequestArguments Source # | |
Defined in Haskell.DAP | |
| Show TerminateRequestArguments Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> TerminateRequestArguments -> ShowS # show :: TerminateRequestArguments -> String # showList :: [TerminateRequestArguments] -> ShowS # | |
data TerminateResponse Source #
Response to terminate request. This is just an acknowledgement, so no body field is required.
Constructors
| TerminateResponse | |
Fields
| |
Instances
| Eq TerminateResponse Source # | |
Defined in Haskell.DAP Methods (==) :: TerminateResponse -> TerminateResponse -> Bool # (/=) :: TerminateResponse -> TerminateResponse -> Bool # | |
| Read TerminateResponse Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS TerminateResponse # readList :: ReadS [TerminateResponse] # | |
| Show TerminateResponse Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> TerminateResponse -> ShowS # show :: TerminateResponse -> String # showList :: [TerminateResponse] -> ShowS # | |
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.
Constructors
| LaunchRequest | |
Fields
| |
Instances
| Eq LaunchRequest Source # | |
Defined in Haskell.DAP Methods (==) :: LaunchRequest -> LaunchRequest -> Bool # (/=) :: LaunchRequest -> LaunchRequest -> Bool # | |
| Read LaunchRequest Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS LaunchRequest # readList :: ReadS [LaunchRequest] # | |
| Show LaunchRequest Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> LaunchRequest -> ShowS # show :: LaunchRequest -> String # showList :: [LaunchRequest] -> ShowS # | |
data LaunchRequestArguments Source #
Arguments for launch request. Additional attributes are implementation specific.
Constructors
| LaunchRequestArguments | |
Fields
| |
Instances
| Eq LaunchRequestArguments Source # | |
Defined in Haskell.DAP Methods (==) :: LaunchRequestArguments -> LaunchRequestArguments -> Bool # (/=) :: LaunchRequestArguments -> LaunchRequestArguments -> Bool # | |
| Read LaunchRequestArguments Source # | |
Defined in Haskell.DAP | |
| Show LaunchRequestArguments Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> LaunchRequestArguments -> ShowS # show :: LaunchRequestArguments -> String # showList :: [LaunchRequestArguments] -> ShowS # | |
data LaunchResponse Source #
Response to launch request. This is just an acknowledgement, so no body field is required.
Constructors
| LaunchResponse | |
Fields
| |
Instances
| Eq LaunchResponse Source # | |
Defined in Haskell.DAP Methods (==) :: LaunchResponse -> LaunchResponse -> Bool # (/=) :: LaunchResponse -> LaunchResponse -> Bool # | |
| Read LaunchResponse Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS LaunchResponse # readList :: ReadS [LaunchResponse] # | |
| Show LaunchResponse Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> LaunchResponse -> ShowS # show :: LaunchResponse -> String # showList :: [LaunchResponse] -> ShowS # | |
setBreakpoints
data SourceBreakpoint Source #
Properties of a breakpoint passed to the setBreakpoints request.
Constructors
| SourceBreakpoint | |
Fields
| |
Instances
| Eq SourceBreakpoint Source # | |
Defined in Haskell.DAP Methods (==) :: SourceBreakpoint -> SourceBreakpoint -> Bool # (/=) :: SourceBreakpoint -> SourceBreakpoint -> Bool # | |
| Read SourceBreakpoint Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS SourceBreakpoint # readList :: ReadS [SourceBreakpoint] # | |
| Show SourceBreakpoint Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> SourceBreakpoint -> ShowS # show :: SourceBreakpoint -> String # showList :: [SourceBreakpoint] -> ShowS # | |
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.
Constructors
| SetBreakpointsRequest | |
Fields
| |
Instances
| Eq SetBreakpointsRequest Source # | |
Defined in Haskell.DAP Methods (==) :: SetBreakpointsRequest -> SetBreakpointsRequest -> Bool # (/=) :: SetBreakpointsRequest -> SetBreakpointsRequest -> Bool # | |
| Read SetBreakpointsRequest Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS SetBreakpointsRequest # readList :: ReadS [SetBreakpointsRequest] # | |
| Show SetBreakpointsRequest Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> SetBreakpointsRequest -> ShowS # show :: SetBreakpointsRequest -> String # showList :: [SetBreakpointsRequest] -> ShowS # | |
data SetBreakpointsRequestArguments Source #
Arguments for setBreakpoints request.
Constructors
| SetBreakpointsRequestArguments | |
Fields
| |
Instances
| Eq SetBreakpointsRequestArguments Source # | |
Defined in Haskell.DAP | |
| Read SetBreakpointsRequestArguments Source # | |
Defined in Haskell.DAP | |
| Show SetBreakpointsRequestArguments Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> SetBreakpointsRequestArguments -> ShowS # show :: SetBreakpointsRequestArguments -> String # showList :: [SetBreakpointsRequestArguments] -> ShowS # | |
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.
Constructors
| SetBreakpointsResponse | |
Fields
| |
Instances
| Eq SetBreakpointsResponse Source # | |
Defined in Haskell.DAP Methods (==) :: SetBreakpointsResponse -> SetBreakpointsResponse -> Bool # (/=) :: SetBreakpointsResponse -> SetBreakpointsResponse -> Bool # | |
| Read SetBreakpointsResponse Source # | |
Defined in Haskell.DAP | |
| Show SetBreakpointsResponse Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> SetBreakpointsResponse -> ShowS # show :: SetBreakpointsResponse -> String # showList :: [SetBreakpointsResponse] -> 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 SetBreakpointsRequestArguments.
Constructors
| SetBreakpointsResponseBody | |
Fields
| |
Instances
| Eq SetBreakpointsResponseBody Source # | |
Defined in Haskell.DAP Methods (==) :: SetBreakpointsResponseBody -> SetBreakpointsResponseBody -> Bool # (/=) :: SetBreakpointsResponseBody -> SetBreakpointsResponseBody -> Bool # | |
| Read SetBreakpointsResponseBody Source # | |
Defined in Haskell.DAP | |
| Show SetBreakpointsResponseBody Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> SetBreakpointsResponseBody -> ShowS # show :: SetBreakpointsResponseBody -> String # showList :: [SetBreakpointsResponseBody] -> ShowS # | |
setFunctionBreakpoints
data FunctionBreakpoint Source #
Properties of a breakpoint passed to the setFunctionBreakpoints request.
Constructors
| FunctionBreakpoint | |
Instances
| Eq FunctionBreakpoint Source # | |
Defined in Haskell.DAP Methods (==) :: FunctionBreakpoint -> FunctionBreakpoint -> Bool # (/=) :: FunctionBreakpoint -> FunctionBreakpoint -> Bool # | |
| Read FunctionBreakpoint Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS FunctionBreakpoint # readList :: ReadS [FunctionBreakpoint] # | |
| Show FunctionBreakpoint Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> FunctionBreakpoint -> ShowS # show :: FunctionBreakpoint -> String # showList :: [FunctionBreakpoint] -> ShowS # | |
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.
Constructors
| SetFunctionBreakpointsRequest | |
Fields
| |
Instances
| Eq SetFunctionBreakpointsRequest Source # | |
Defined in Haskell.DAP | |
| Read SetFunctionBreakpointsRequest Source # | |
Defined in Haskell.DAP | |
| Show SetFunctionBreakpointsRequest Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> SetFunctionBreakpointsRequest -> ShowS # show :: SetFunctionBreakpointsRequest -> String # showList :: [SetFunctionBreakpointsRequest] -> ShowS # | |
data SetFunctionBreakpointsRequestArguments Source #
Arguments for setFunctionBreakpoints request.
Constructors
| SetFunctionBreakpointsRequestArguments | |
Fields
| |
Instances
data SetFunctionBreakpointsResponse Source #
Response to "setFunctionBreakpoints" request.
Constructors
| SetFunctionBreakpointsResponse | |
Fields
| |
Instances
| Eq SetFunctionBreakpointsResponse Source # | |
Defined in Haskell.DAP | |
| Read SetFunctionBreakpointsResponse Source # | |
Defined in Haskell.DAP | |
| Show SetFunctionBreakpointsResponse Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> SetFunctionBreakpointsResponse -> ShowS # show :: SetFunctionBreakpointsResponse -> String # showList :: [SetFunctionBreakpointsResponse] -> ShowS # | |
data SetFunctionBreakpointsResponseBody Source #
Response to setFunctionBreakpoints request.
Returned is information about each breakpoint created by this request.
Constructors
| SetFunctionBreakpointsResponseBody | |
Fields
| |
Instances
| Eq SetFunctionBreakpointsResponseBody Source # | |
Defined in Haskell.DAP | |
| Read SetFunctionBreakpointsResponseBody Source # | |
| Show SetFunctionBreakpointsResponseBody Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> SetFunctionBreakpointsResponseBody -> ShowS # | |
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).
Constructors
| SetExceptionBreakpointsRequest | |
Fields
| |
Instances
| Eq SetExceptionBreakpointsRequest Source # | |
Defined in Haskell.DAP | |
| Read SetExceptionBreakpointsRequest Source # | |
Defined in Haskell.DAP | |
| Show SetExceptionBreakpointsRequest Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> SetExceptionBreakpointsRequest -> ShowS # show :: SetExceptionBreakpointsRequest -> String # showList :: [SetExceptionBreakpointsRequest] -> ShowS # | |
data SetExceptionBreakpointsRequestArguments Source #
Arguments for setExceptionBreakpoints request.
Constructors
| SetExceptionBreakpointsRequestArguments | |
Fields
| |
Instances
data SetExceptionBreakpointsResponse Source #
Response to setExceptionBreakpoints request. This is just an acknowledgement, so no body field is required.
Constructors
| SetExceptionBreakpointsResponse | |
Fields
| |
Instances
| Eq SetExceptionBreakpointsResponse Source # | |
Defined in Haskell.DAP | |
| Read SetExceptionBreakpointsResponse Source # | |
| Show SetExceptionBreakpointsResponse Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> SetExceptionBreakpointsResponse -> ShowS # | |
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).
Constructors
| ConfigurationDoneRequest | |
Fields
| |
Instances
| Eq ConfigurationDoneRequest Source # | |
Defined in Haskell.DAP Methods (==) :: ConfigurationDoneRequest -> ConfigurationDoneRequest -> Bool # (/=) :: ConfigurationDoneRequest -> ConfigurationDoneRequest -> Bool # | |
| Read ConfigurationDoneRequest Source # | |
Defined in Haskell.DAP | |
| Show ConfigurationDoneRequest Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> ConfigurationDoneRequest -> ShowS # show :: ConfigurationDoneRequest -> String # showList :: [ConfigurationDoneRequest] -> ShowS # | |
data ConfigurationDoneResponse Source #
Response to configurationDone request. This is just an acknowledgement, so no body field is required.
Constructors
| ConfigurationDoneResponse | |
Fields
| |
Instances
| Eq ConfigurationDoneResponse Source # | |
Defined in Haskell.DAP Methods (==) :: ConfigurationDoneResponse -> ConfigurationDoneResponse -> Bool # (/=) :: ConfigurationDoneResponse -> ConfigurationDoneResponse -> Bool # | |
| Read ConfigurationDoneResponse Source # | |
Defined in Haskell.DAP | |
| Show ConfigurationDoneResponse Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> ConfigurationDoneResponse -> ShowS # show :: ConfigurationDoneResponse -> String # showList :: [ConfigurationDoneResponse] -> ShowS # | |
threads
data ThreadsRequest Source #
Thread request; value of command field is "threads".
The request retrieves a list of all threads.
Constructors
| ThreadsRequest | |
Fields
| |
Instances
| Eq ThreadsRequest Source # | |
Defined in Haskell.DAP Methods (==) :: ThreadsRequest -> ThreadsRequest -> Bool # (/=) :: ThreadsRequest -> ThreadsRequest -> Bool # | |
| Read ThreadsRequest Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS ThreadsRequest # readList :: ReadS [ThreadsRequest] # | |
| Show ThreadsRequest Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> ThreadsRequest -> ShowS # show :: ThreadsRequest -> String # showList :: [ThreadsRequest] -> ShowS # | |
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.
Constructors
| Thread | |
Fields
| |
data ThreadsResponse Source #
Response to "threads" request.
Constructors
| ThreadsResponse | |
Fields
| |
Instances
| Eq ThreadsResponse Source # | |
Defined in Haskell.DAP Methods (==) :: ThreadsResponse -> ThreadsResponse -> Bool # (/=) :: ThreadsResponse -> ThreadsResponse -> Bool # | |
| Read ThreadsResponse Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS ThreadsResponse # readList :: ReadS [ThreadsResponse] # | |
| Show ThreadsResponse Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> ThreadsResponse -> ShowS # show :: ThreadsResponse -> String # showList :: [ThreadsResponse] -> ShowS # | |
data ThreadsResponseBody Source #
Response to "threads" request.
Constructors
| ThreadsResponseBody | |
Fields
| |
Instances
| Eq ThreadsResponseBody Source # | |
Defined in Haskell.DAP Methods (==) :: ThreadsResponseBody -> ThreadsResponseBody -> Bool # (/=) :: ThreadsResponseBody -> ThreadsResponseBody -> Bool # | |
| Read ThreadsResponseBody Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS ThreadsResponseBody # readList :: ReadS [ThreadsResponseBody] # | |
| Show ThreadsResponseBody Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> ThreadsResponseBody -> ShowS # show :: ThreadsResponseBody -> String # showList :: [ThreadsResponseBody] -> ShowS # | |
stackTrace
data StackTraceRequest Source #
StackTrace request; value of command field is "stackTrace".
The request returns a stacktrace from the current execution state.
Constructors
| StackTraceRequest | |
Fields
| |
Instances
| Eq StackTraceRequest Source # | |
Defined in Haskell.DAP Methods (==) :: StackTraceRequest -> StackTraceRequest -> Bool # (/=) :: StackTraceRequest -> StackTraceRequest -> Bool # | |
| Read StackTraceRequest Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS StackTraceRequest # readList :: ReadS [StackTraceRequest] # | |
| Show StackTraceRequest Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> StackTraceRequest -> ShowS # show :: StackTraceRequest -> String # showList :: [StackTraceRequest] -> ShowS # | |
data StackTraceRequestArguments Source #
Arguments for stackTrace request.
Constructors
| StackTraceRequestArguments | |
Fields
| |
Instances
| Eq StackTraceRequestArguments Source # | |
Defined in Haskell.DAP Methods (==) :: StackTraceRequestArguments -> StackTraceRequestArguments -> Bool # (/=) :: StackTraceRequestArguments -> StackTraceRequestArguments -> Bool # | |
| Read StackTraceRequestArguments Source # | |
Defined in Haskell.DAP | |
| Show StackTraceRequestArguments Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> StackTraceRequestArguments -> ShowS # show :: StackTraceRequestArguments -> String # showList :: [StackTraceRequestArguments] -> ShowS # | |
data StackFrame Source #
A Stackframe contains the source location.
Constructors
| StackFrame | |
Fields
| |
Instances
| Eq StackFrame Source # | |
Defined in Haskell.DAP | |
| Read StackFrame Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS StackFrame # readList :: ReadS [StackFrame] # readPrec :: ReadPrec StackFrame # readListPrec :: ReadPrec [StackFrame] # | |
| Show StackFrame Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> StackFrame -> ShowS # show :: StackFrame -> String # showList :: [StackFrame] -> ShowS # | |
data StackTraceResponse Source #
Response to "stackTrace" request.
Constructors
| StackTraceResponse | |
Fields
| |
Instances
| Eq StackTraceResponse Source # | |
Defined in Haskell.DAP Methods (==) :: StackTraceResponse -> StackTraceResponse -> Bool # (/=) :: StackTraceResponse -> StackTraceResponse -> Bool # | |
| Read StackTraceResponse Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS StackTraceResponse # readList :: ReadS [StackTraceResponse] # | |
| Show StackTraceResponse Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> StackTraceResponse -> ShowS # show :: StackTraceResponse -> String # showList :: [StackTraceResponse] -> ShowS # | |
data StackTraceResponseBody Source #
Response to stackTrace request.
Constructors
| StackTraceResponseBody | |
Fields
| |
Instances
| Eq StackTraceResponseBody Source # | |
Defined in Haskell.DAP Methods (==) :: StackTraceResponseBody -> StackTraceResponseBody -> Bool # (/=) :: StackTraceResponseBody -> StackTraceResponseBody -> Bool # | |
| Read StackTraceResponseBody Source # | |
Defined in Haskell.DAP | |
| Show StackTraceResponseBody Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> StackTraceResponseBody -> ShowS # show :: StackTraceResponseBody -> String # showList :: [StackTraceResponseBody] -> ShowS # | |
scopes
data ScopesRequest Source #
Scopes request; value of command field is "scopes".
The request returns the variable scopes for a given stackframe ID.
Constructors
| ScopesRequest | |
Fields
| |
Instances
| Eq ScopesRequest Source # | |
Defined in Haskell.DAP Methods (==) :: ScopesRequest -> ScopesRequest -> Bool # (/=) :: ScopesRequest -> ScopesRequest -> Bool # | |
| Read ScopesRequest Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS ScopesRequest # readList :: ReadS [ScopesRequest] # | |
| Show ScopesRequest Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> ScopesRequest -> ShowS # show :: ScopesRequest -> String # showList :: [ScopesRequest] -> ShowS # | |
data ScopesRequestArguments Source #
Arguments for "scopes" request.
Constructors
| ScopesRequestArguments | |
Fields
| |
Instances
| Eq ScopesRequestArguments Source # | |
Defined in Haskell.DAP Methods (==) :: ScopesRequestArguments -> ScopesRequestArguments -> Bool # (/=) :: ScopesRequestArguments -> ScopesRequestArguments -> Bool # | |
| Read ScopesRequestArguments Source # | |
Defined in Haskell.DAP | |
| Show ScopesRequestArguments Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> ScopesRequestArguments -> ShowS # show :: ScopesRequestArguments -> String # showList :: [ScopesRequestArguments] -> 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 #
data ScopesResponse Source #
Response to "scopes" request.
Constructors
| ScopesResponse | |
Fields
| |
Instances
| Eq ScopesResponse Source # | |
Defined in Haskell.DAP Methods (==) :: ScopesResponse -> ScopesResponse -> Bool # (/=) :: ScopesResponse -> ScopesResponse -> Bool # | |
| Read ScopesResponse Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS ScopesResponse # readList :: ReadS [ScopesResponse] # | |
| Show ScopesResponse Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> ScopesResponse -> ShowS # show :: ScopesResponse -> String # showList :: [ScopesResponse] -> ShowS # | |
data ScopesResponseBody Source #
Response to scopes request.
Constructors
| ScopesResponseBody | |
Fields
| |
Instances
| Eq ScopesResponseBody Source # | |
Defined in Haskell.DAP Methods (==) :: ScopesResponseBody -> ScopesResponseBody -> Bool # (/=) :: ScopesResponseBody -> ScopesResponseBody -> Bool # | |
| Read ScopesResponseBody Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS ScopesResponseBody # readList :: ReadS [ScopesResponseBody] # | |
| Show ScopesResponseBody Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> ScopesResponseBody -> ShowS # show :: ScopesResponseBody -> String # showList :: [ScopesResponseBody] -> ShowS # | |
variables
data VariablesRequest Source #
Variables request; value of command field is "variables".
Retrieves all children for the given variable reference.
Constructors
| VariablesRequest | |
Fields
| |
Instances
| Eq VariablesRequest Source # | |
Defined in Haskell.DAP Methods (==) :: VariablesRequest -> VariablesRequest -> Bool # (/=) :: VariablesRequest -> VariablesRequest -> Bool # | |
| Read VariablesRequest Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS VariablesRequest # readList :: ReadS [VariablesRequest] # | |
| Show VariablesRequest Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> VariablesRequest -> ShowS # show :: VariablesRequest -> String # showList :: [VariablesRequest] -> ShowS # | |
data VariablesRequestArguments Source #
Arguments for variables request.
Constructors
| VariablesRequestArguments | |
Fields
| |
Instances
| Eq VariablesRequestArguments Source # | |
Defined in Haskell.DAP Methods (==) :: VariablesRequestArguments -> VariablesRequestArguments -> Bool # (/=) :: VariablesRequestArguments -> VariablesRequestArguments -> Bool # | |
| Read VariablesRequestArguments Source # | |
Defined in Haskell.DAP | |
| Show VariablesRequestArguments Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> VariablesRequestArguments -> ShowS # show :: VariablesRequestArguments -> String # showList :: [VariablesRequestArguments] -> 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
| |
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 Haskell.DAP Methods (==) :: VariablePresentationHint -> VariablePresentationHint -> Bool # (/=) :: VariablePresentationHint -> VariablePresentationHint -> Bool # | |
| Read VariablePresentationHint Source # | |
Defined in Haskell.DAP | |
| Show VariablePresentationHint Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> VariablePresentationHint -> ShowS # show :: VariablePresentationHint -> String # showList :: [VariablePresentationHint] -> ShowS # | |
data VariablesResponse Source #
Response to "variables" request.
Constructors
| VariablesResponse | |
Fields
| |
Instances
| Eq VariablesResponse Source # | |
Defined in Haskell.DAP Methods (==) :: VariablesResponse -> VariablesResponse -> Bool # (/=) :: VariablesResponse -> VariablesResponse -> Bool # | |
| Read VariablesResponse Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS VariablesResponse # readList :: ReadS [VariablesResponse] # | |
| Show VariablesResponse Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> VariablesResponse -> ShowS # show :: VariablesResponse -> String # showList :: [VariablesResponse] -> ShowS # | |
data VariablesResponseBody Source #
Response to "variables" request.
Constructors
| VariablesResponseBody | |
Fields
| |
Instances
| Eq VariablesResponseBody Source # | |
Defined in Haskell.DAP Methods (==) :: VariablesResponseBody -> VariablesResponseBody -> Bool # (/=) :: VariablesResponseBody -> VariablesResponseBody -> Bool # | |
| Read VariablesResponseBody Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS VariablesResponseBody # readList :: ReadS [VariablesResponseBody] # | |
| Show VariablesResponseBody Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> VariablesResponseBody -> ShowS # show :: VariablesResponseBody -> String # showList :: [VariablesResponseBody] -> ShowS # | |
continue
data ContinueRequest Source #
Continue request; value of command field is "continue".
The request starts the debuggee to run again.
Constructors
| ContinueRequest | |
Fields
| |
Instances
| Eq ContinueRequest Source # | |
Defined in Haskell.DAP Methods (==) :: ContinueRequest -> ContinueRequest -> Bool # (/=) :: ContinueRequest -> ContinueRequest -> Bool # | |
| Read ContinueRequest Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS ContinueRequest # readList :: ReadS [ContinueRequest] # | |
| Show ContinueRequest Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> ContinueRequest -> ShowS # show :: ContinueRequest -> String # showList :: [ContinueRequest] -> ShowS # | |
data ContinueRequestArguments Source #
Arguments for continue request.
Constructors
| ContinueRequestArguments | |
Fields
| |
Instances
| Eq ContinueRequestArguments Source # | |
Defined in Haskell.DAP Methods (==) :: ContinueRequestArguments -> ContinueRequestArguments -> Bool # (/=) :: ContinueRequestArguments -> ContinueRequestArguments -> Bool # | |
| Read ContinueRequestArguments Source # | |
Defined in Haskell.DAP | |
| Show ContinueRequestArguments Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> ContinueRequestArguments -> ShowS # show :: ContinueRequestArguments -> String # showList :: [ContinueRequestArguments] -> ShowS # | |
data ContinueResponse Source #
Response to "continue" request. This is just an acknowledgement, so no body field is required.
Constructors
| ContinueResponse | |
Fields
| |
Instances
| Eq ContinueResponse Source # | |
Defined in Haskell.DAP Methods (==) :: ContinueResponse -> ContinueResponse -> Bool # (/=) :: ContinueResponse -> ContinueResponse -> Bool # | |
| Read ContinueResponse Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS ContinueResponse # readList :: ReadS [ContinueResponse] # | |
| Show ContinueResponse Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> ContinueResponse -> ShowS # show :: ContinueResponse -> String # showList :: [ContinueResponse] -> ShowS # | |
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.
Constructors
| NextRequest | |
Fields
| |
Instances
| Eq NextRequest Source # | |
Defined in Haskell.DAP | |
| Read NextRequest Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS NextRequest # readList :: ReadS [NextRequest] # readPrec :: ReadPrec NextRequest # readListPrec :: ReadPrec [NextRequest] # | |
| Show NextRequest Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> NextRequest -> ShowS # show :: NextRequest -> String # showList :: [NextRequest] -> ShowS # | |
data NextRequestArguments Source #
Arguments for next request.
Constructors
| NextRequestArguments | |
Fields
| |
Instances
| Eq NextRequestArguments Source # | |
Defined in Haskell.DAP Methods (==) :: NextRequestArguments -> NextRequestArguments -> Bool # (/=) :: NextRequestArguments -> NextRequestArguments -> Bool # | |
| Read NextRequestArguments Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS NextRequestArguments # readList :: ReadS [NextRequestArguments] # | |
| Show NextRequestArguments Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> NextRequestArguments -> ShowS # show :: NextRequestArguments -> String # showList :: [NextRequestArguments] -> ShowS # | |
data NextResponse Source #
Response to "next" request. This is just an acknowledgement, so no body field is required.
Constructors
| NextResponse | |
Fields
| |
Instances
| Eq NextResponse Source # | |
Defined in Haskell.DAP | |
| Read NextResponse Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS NextResponse # readList :: ReadS [NextResponse] # | |
| Show NextResponse Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> NextResponse -> ShowS # show :: NextResponse -> String # showList :: [NextResponse] -> ShowS # | |
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.
Constructors
| StepInRequest | |
Fields
| |
Instances
| Eq StepInRequest Source # | |
Defined in Haskell.DAP Methods (==) :: StepInRequest -> StepInRequest -> Bool # (/=) :: StepInRequest -> StepInRequest -> Bool # | |
| Read StepInRequest Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS StepInRequest # readList :: ReadS [StepInRequest] # | |
| Show StepInRequest Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> StepInRequest -> ShowS # show :: StepInRequest -> String # showList :: [StepInRequest] -> ShowS # | |
data StepInRequestArguments Source #
Arguments for stepIn request.
Constructors
| StepInRequestArguments | |
Fields
| |
Instances
| Eq StepInRequestArguments Source # | |
Defined in Haskell.DAP Methods (==) :: StepInRequestArguments -> StepInRequestArguments -> Bool # (/=) :: StepInRequestArguments -> StepInRequestArguments -> Bool # | |
| Read StepInRequestArguments Source # | |
Defined in Haskell.DAP | |
| Show StepInRequestArguments Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> StepInRequestArguments -> ShowS # show :: StepInRequestArguments -> String # showList :: [StepInRequestArguments] -> ShowS # | |
data StepInResponse Source #
Response to "stepIn" request. This is just an acknowledgement, so no body field is required.
Constructors
| StepInResponse | |
Fields
| |
Instances
| Eq StepInResponse Source # | |
Defined in Haskell.DAP Methods (==) :: StepInResponse -> StepInResponse -> Bool # (/=) :: StepInResponse -> StepInResponse -> Bool # | |
| Read StepInResponse Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS StepInResponse # readList :: ReadS [StepInResponse] # | |
| Show StepInResponse Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> StepInResponse -> ShowS # show :: StepInResponse -> String # showList :: [StepInResponse] -> ShowS # | |
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.
Constructors
| EvaluateRequest | |
Fields
| |
Instances
| Eq EvaluateRequest Source # | |
Defined in Haskell.DAP Methods (==) :: EvaluateRequest -> EvaluateRequest -> Bool # (/=) :: EvaluateRequest -> EvaluateRequest -> Bool # | |
| Read EvaluateRequest Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS EvaluateRequest # readList :: ReadS [EvaluateRequest] # | |
| Show EvaluateRequest Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> EvaluateRequest -> ShowS # show :: EvaluateRequest -> String # showList :: [EvaluateRequest] -> ShowS # | |
data EvaluateRequestArguments Source #
rguments for evaluate request.
Constructors
| EvaluateRequestArguments | |
Fields
| |
Instances
| Eq EvaluateRequestArguments Source # | |
Defined in Haskell.DAP Methods (==) :: EvaluateRequestArguments -> EvaluateRequestArguments -> Bool # (/=) :: EvaluateRequestArguments -> EvaluateRequestArguments -> Bool # | |
| Read EvaluateRequestArguments Source # | |
Defined in Haskell.DAP | |
| Show EvaluateRequestArguments Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> EvaluateRequestArguments -> ShowS # show :: EvaluateRequestArguments -> String # showList :: [EvaluateRequestArguments] -> ShowS # | |
data EvaluateResponse Source #
Response to "evaluate" request.
Constructors
| EvaluateResponse | |
Fields
| |
Instances
| Eq EvaluateResponse Source # | |
Defined in Haskell.DAP Methods (==) :: EvaluateResponse -> EvaluateResponse -> Bool # (/=) :: EvaluateResponse -> EvaluateResponse -> Bool # | |
| Read EvaluateResponse Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS EvaluateResponse # readList :: ReadS [EvaluateResponse] # | |
| Show EvaluateResponse Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> EvaluateResponse -> ShowS # show :: EvaluateResponse -> String # showList :: [EvaluateResponse] -> ShowS # | |
data EvaluateResponseBody Source #
Response to "evaluate" request.
Constructors
| EvaluateResponseBody | |
Fields
| |
Instances
| Eq EvaluateResponseBody Source # | |
Defined in Haskell.DAP Methods (==) :: EvaluateResponseBody -> EvaluateResponseBody -> Bool # (/=) :: EvaluateResponseBody -> EvaluateResponseBody -> Bool # | |
| Read EvaluateResponseBody Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS EvaluateResponseBody # readList :: ReadS [EvaluateResponseBody] # | |
| Show EvaluateResponseBody Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> EvaluateResponseBody -> ShowS # show :: EvaluateResponseBody -> String # showList :: [EvaluateResponseBody] -> ShowS # | |
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.
Constructors
| CompletionsRequest | |
Fields
| |
Instances
| Eq CompletionsRequest Source # | |
Defined in Haskell.DAP Methods (==) :: CompletionsRequest -> CompletionsRequest -> Bool # (/=) :: CompletionsRequest -> CompletionsRequest -> Bool # | |
| Read CompletionsRequest Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS CompletionsRequest # readList :: ReadS [CompletionsRequest] # | |
| Show CompletionsRequest Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> CompletionsRequest -> ShowS # show :: CompletionsRequest -> String # showList :: [CompletionsRequest] -> ShowS # | |
data CompletionsRequestArguments Source #
Arguments for completions request.
Constructors
| CompletionsRequestArguments | |
Fields
| |
Instances
| Eq CompletionsRequestArguments Source # | |
Defined in Haskell.DAP Methods (==) :: CompletionsRequestArguments -> CompletionsRequestArguments -> Bool # (/=) :: CompletionsRequestArguments -> CompletionsRequestArguments -> Bool # | |
| Read CompletionsRequestArguments Source # | |
Defined in Haskell.DAP | |
| Show CompletionsRequestArguments Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> CompletionsRequestArguments -> ShowS # show :: CompletionsRequestArguments -> String # showList :: [CompletionsRequestArguments] -> ShowS # | |
data CompletionsItem Source #
CompletionItems are the suggestions returned from the CompletionsRequest.
Constructors
| CompletionsItem | |
Fields
| |
Instances
| Eq CompletionsItem Source # | |
Defined in Haskell.DAP Methods (==) :: CompletionsItem -> CompletionsItem -> Bool # (/=) :: CompletionsItem -> CompletionsItem -> Bool # | |
| Read CompletionsItem Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS CompletionsItem # readList :: ReadS [CompletionsItem] # | |
| Show CompletionsItem Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> CompletionsItem -> ShowS # show :: CompletionsItem -> String # showList :: [CompletionsItem] -> ShowS # | |
data CompletionsResponse Source #
Response to completions request.
Constructors
| CompletionsResponse | |
Fields
| |
Instances
| Eq CompletionsResponse Source # | |
Defined in Haskell.DAP Methods (==) :: CompletionsResponse -> CompletionsResponse -> Bool # (/=) :: CompletionsResponse -> CompletionsResponse -> Bool # | |
| Read CompletionsResponse Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS CompletionsResponse # readList :: ReadS [CompletionsResponse] # | |
| Show CompletionsResponse Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> CompletionsResponse -> ShowS # show :: CompletionsResponse -> String # showList :: [CompletionsResponse] -> ShowS # | |
data CompletionsResponseBody Source #
Response to completions request.
Constructors
| CompletionsResponseBody | |
Fields
| |
Instances
| Eq CompletionsResponseBody Source # | |
Defined in Haskell.DAP Methods (==) :: CompletionsResponseBody -> CompletionsResponseBody -> Bool # (/=) :: CompletionsResponseBody -> CompletionsResponseBody -> Bool # | |
| Read CompletionsResponseBody Source # | |
Defined in Haskell.DAP | |
| Show CompletionsResponseBody Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> CompletionsResponseBody -> ShowS # show :: CompletionsResponseBody -> String # showList :: [CompletionsResponseBody] -> ShowS # | |
event
data OutputEvent Source #
Event message for "output" event type. The event indicates that the target has produced output.
Constructors
| OutputEvent | |
Fields
| |
Instances
| Eq OutputEvent Source # | |
Defined in Haskell.DAP | |
| Read OutputEvent Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS OutputEvent # readList :: ReadS [OutputEvent] # readPrec :: ReadPrec OutputEvent # readListPrec :: ReadPrec [OutputEvent] # | |
| Show OutputEvent Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> OutputEvent -> ShowS # show :: OutputEvent -> String # showList :: [OutputEvent] -> ShowS # | |
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 Haskell.DAP Methods (==) :: OutputEventBody -> OutputEventBody -> Bool # (/=) :: OutputEventBody -> OutputEventBody -> Bool # | |
| Read OutputEventBody Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS OutputEventBody # readList :: ReadS [OutputEventBody] # | |
| Show OutputEventBody Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> OutputEventBody -> ShowS # show :: OutputEventBody -> String # showList :: [OutputEventBody] -> ShowS # | |
data InitializedEvent Source #
Server-initiated response to client request
Constructors
| InitializedEvent | |
Fields
| |
Instances
| Eq InitializedEvent Source # | |
Defined in Haskell.DAP Methods (==) :: InitializedEvent -> InitializedEvent -> Bool # (/=) :: InitializedEvent -> InitializedEvent -> Bool # | |
| Read InitializedEvent Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS InitializedEvent # readList :: ReadS [InitializedEvent] # | |
| Show InitializedEvent Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> InitializedEvent -> ShowS # show :: InitializedEvent -> String # showList :: [InitializedEvent] -> ShowS # | |
data TerminatedEvent Source #
Event message for "terminated" event types.
The event indicates that debugging of the debuggee has terminated.
Constructors
| TerminatedEvent | |
Fields
| |
Instances
| Eq TerminatedEvent Source # | |
Defined in Haskell.DAP Methods (==) :: TerminatedEvent -> TerminatedEvent -> Bool # (/=) :: TerminatedEvent -> TerminatedEvent -> Bool # | |
| Read TerminatedEvent Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS TerminatedEvent # readList :: ReadS [TerminatedEvent] # | |
| Show TerminatedEvent Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> TerminatedEvent -> ShowS # show :: TerminatedEvent -> String # showList :: [TerminatedEvent] -> ShowS # | |
data TerminatedEventBody Source #
Event message for "terminated" event types.
The event indicates that debugging of the debuggee has terminated.
Constructors
| TerminatedEventBody | |
Fields
| |
Instances
| Eq TerminatedEventBody Source # | |
Defined in Haskell.DAP Methods (==) :: TerminatedEventBody -> TerminatedEventBody -> Bool # (/=) :: TerminatedEventBody -> TerminatedEventBody -> Bool # | |
| Read TerminatedEventBody Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS TerminatedEventBody # readList :: ReadS [TerminatedEventBody] # | |
| Show TerminatedEventBody Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> TerminatedEventBody -> ShowS # show :: TerminatedEventBody -> String # showList :: [TerminatedEventBody] -> ShowS # | |
data ExitedEvent Source #
Event message for "exited" event types.
Constructors
| ExitedEvent | |
Fields
| |
Instances
| Eq ExitedEvent Source # | |
Defined in Haskell.DAP | |
| Read ExitedEvent Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS ExitedEvent # readList :: ReadS [ExitedEvent] # readPrec :: ReadPrec ExitedEvent # readListPrec :: ReadPrec [ExitedEvent] # | |
| Show ExitedEvent Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> ExitedEvent -> ShowS # show :: ExitedEvent -> String # showList :: [ExitedEvent] -> ShowS # | |
data ExitedEventBody Source #
Event message for "exited" event types.
The exit code returned from the debuggee.
Constructors
| ExitedEventBody | |
Fields | |
Instances
| Eq ExitedEventBody Source # | |
Defined in Haskell.DAP Methods (==) :: ExitedEventBody -> ExitedEventBody -> Bool # (/=) :: ExitedEventBody -> ExitedEventBody -> Bool # | |
| Read ExitedEventBody Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS ExitedEventBody # readList :: ReadS [ExitedEventBody] # | |
| Show ExitedEventBody Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> ExitedEventBody -> ShowS # show :: ExitedEventBody -> String # showList :: [ExitedEventBody] -> ShowS # | |
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.
Constructors
| ContinuedEvent | |
Fields
| |
Instances
| Eq ContinuedEvent Source # | |
Defined in Haskell.DAP Methods (==) :: ContinuedEvent -> ContinuedEvent -> Bool # (/=) :: ContinuedEvent -> ContinuedEvent -> Bool # | |
| Read ContinuedEvent Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS ContinuedEvent # readList :: ReadS [ContinuedEvent] # | |
| Show ContinuedEvent Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> ContinuedEvent -> ShowS # show :: ContinuedEvent -> String # showList :: [ContinuedEvent] -> ShowS # | |
data ContinuedEventBody Source #
Body of ContinuedEvent
Constructors
| ContinuedEventBody | |
Fields
| |
Instances
| Eq ContinuedEventBody Source # | |
Defined in Haskell.DAP Methods (==) :: ContinuedEventBody -> ContinuedEventBody -> Bool # (/=) :: ContinuedEventBody -> ContinuedEventBody -> Bool # | |
| Read ContinuedEventBody Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS ContinuedEventBody # readList :: ReadS [ContinuedEventBody] # | |
| Show ContinuedEventBody Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> ContinuedEventBody -> ShowS # show :: ContinuedEventBody -> String # showList :: [ContinuedEventBody] -> ShowS # | |
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.
Constructors
| StoppedEvent | |
Fields
| |
Instances
| Eq StoppedEvent Source # | |
Defined in Haskell.DAP | |
| Read StoppedEvent Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS StoppedEvent # readList :: ReadS [StoppedEvent] # | |
| Show StoppedEvent Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> StoppedEvent -> ShowS # show :: StoppedEvent -> String # showList :: [StoppedEvent] -> 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 Haskell.DAP Methods (==) :: StoppedEventBody -> StoppedEventBody -> Bool # (/=) :: StoppedEventBody -> StoppedEventBody -> Bool # | |
| Read StoppedEventBody Source # | |
Defined in Haskell.DAP Methods readsPrec :: Int -> ReadS StoppedEventBody # readList :: ReadS [StoppedEventBody] # | |
| Show StoppedEventBody Source # | |
Defined in Haskell.DAP Methods showsPrec :: Int -> StoppedEventBody -> ShowS # show :: StoppedEventBody -> String # showList :: [StoppedEventBody] -> ShowS # | |