Versions in this module Expand all Collapse all v1 v1.21.1 Aug 24, 2023 Changes in this version + const ClosingClient + const ProcessExited + type Client struct + func NewClient(addr string) *Client + func NewClientFromConn(conn net.Conn) *Client + func (c *Client) AttachRequest(arguments map[string]interface{}) + func (c *Client) BadRequest() + func (c *Client) BreakpointLocationsRequest() + func (c *Client) CancelRequest() + func (c *Client) CheckAttachResponse(t *testing.T, m dap.Message) *dap.AttachResponse + func (c *Client) CheckBreakpointEvent(t *testing.T, m dap.Message) *dap.BreakpointEvent + func (c *Client) CheckBreakpointLocationsResponse(t *testing.T, m dap.Message) *dap.BreakpointLocationsResponse + func (c *Client) CheckCancelResponse(t *testing.T, m dap.Message) *dap.CancelResponse + func (c *Client) CheckCapabilitiesEvent(t *testing.T, m dap.Message) *dap.CapabilitiesEvent + func (c *Client) CheckCompletionsResponse(t *testing.T, m dap.Message) *dap.CompletionsResponse + func (c *Client) CheckConfigurationDoneResponse(t *testing.T, m dap.Message) *dap.ConfigurationDoneResponse + func (c *Client) CheckContinueResponse(t *testing.T, m dap.Message) *dap.ContinueResponse + func (c *Client) CheckContinuedEvent(t *testing.T, m dap.Message) *dap.ContinuedEvent + func (c *Client) CheckDataBreakpointInfoResponse(t *testing.T, m dap.Message) *dap.DataBreakpointInfoResponse + func (c *Client) CheckDisassembleResponse(t *testing.T, m dap.Message) *dap.DisassembleResponse + func (c *Client) CheckDisconnectResponse(t *testing.T, m dap.Message) *dap.DisconnectResponse + func (c *Client) CheckErrorResponse(t *testing.T, m dap.Message) *dap.ErrorResponse + func (c *Client) CheckEvaluateResponse(t *testing.T, m dap.Message) *dap.EvaluateResponse + func (c *Client) CheckExceptionInfoResponse(t *testing.T, m dap.Message) *dap.ExceptionInfoResponse + func (c *Client) CheckExitedEvent(t *testing.T, m dap.Message) *dap.ExitedEvent + func (c *Client) CheckGotoResponse(t *testing.T, m dap.Message) *dap.GotoResponse + func (c *Client) CheckGotoTargetsResponse(t *testing.T, m dap.Message) *dap.GotoTargetsResponse + func (c *Client) CheckInitializeResponse(t *testing.T, m dap.Message) *dap.InitializeResponse + func (c *Client) CheckInitializedEvent(t *testing.T, m dap.Message) *dap.InitializedEvent + func (c *Client) CheckInvalidatedEvent(t *testing.T, m dap.Message) *dap.InvalidatedEvent + func (c *Client) CheckLaunchResponse(t *testing.T, m dap.Message) *dap.LaunchResponse + func (c *Client) CheckLoadedSourceEvent(t *testing.T, m dap.Message) *dap.LoadedSourceEvent + func (c *Client) CheckLoadedSourcesResponse(t *testing.T, m dap.Message) *dap.LoadedSourcesResponse + func (c *Client) CheckMemoryEvent(t *testing.T, m dap.Message) *dap.MemoryEvent + func (c *Client) CheckModuleEvent(t *testing.T, m dap.Message) *dap.ModuleEvent + func (c *Client) CheckModulesResponse(t *testing.T, m dap.Message) *dap.ModulesResponse + func (c *Client) CheckNextResponse(t *testing.T, m dap.Message) *dap.NextResponse + func (c *Client) CheckOutputEvent(t *testing.T, m dap.Message) *dap.OutputEvent + func (c *Client) CheckPauseResponse(t *testing.T, m dap.Message) *dap.PauseResponse + func (c *Client) CheckProcessEvent(t *testing.T, m dap.Message) *dap.ProcessEvent + func (c *Client) CheckProgressEndEvent(t *testing.T, m dap.Message) *dap.ProgressEndEvent + func (c *Client) CheckProgressStartEvent(t *testing.T, m dap.Message) *dap.ProgressStartEvent + func (c *Client) CheckProgressUpdateEvent(t *testing.T, m dap.Message) *dap.ProgressUpdateEvent + func (c *Client) CheckReadMemoryResponse(t *testing.T, m dap.Message) *dap.ReadMemoryResponse + func (c *Client) CheckRestartFrameResponse(t *testing.T, m dap.Message) *dap.RestartFrameResponse + func (c *Client) CheckRestartResponse(t *testing.T, m dap.Message) *dap.RestartResponse + func (c *Client) CheckReverseContinueResponse(t *testing.T, m dap.Message) *dap.ReverseContinueResponse + func (c *Client) CheckRunInTerminalResponse(t *testing.T, m dap.Message) *dap.RunInTerminalResponse + func (c *Client) CheckScopesResponse(t *testing.T, m dap.Message) *dap.ScopesResponse + func (c *Client) CheckSetBreakpointsResponse(t *testing.T, m dap.Message) *dap.SetBreakpointsResponse + func (c *Client) CheckSetDataBreakpointsResponse(t *testing.T, m dap.Message) *dap.SetDataBreakpointsResponse + func (c *Client) CheckSetExceptionBreakpointsResponse(t *testing.T, m dap.Message) *dap.SetExceptionBreakpointsResponse + func (c *Client) CheckSetExpressionResponse(t *testing.T, m dap.Message) *dap.SetExpressionResponse + func (c *Client) CheckSetFunctionBreakpointsResponse(t *testing.T, m dap.Message) *dap.SetFunctionBreakpointsResponse + func (c *Client) CheckSetInstructionBreakpointsResponse(t *testing.T, m dap.Message) *dap.SetInstructionBreakpointsResponse + func (c *Client) CheckSetVariableResponse(t *testing.T, m dap.Message) *dap.SetVariableResponse + func (c *Client) CheckSourceResponse(t *testing.T, m dap.Message) *dap.SourceResponse + func (c *Client) CheckStackTraceResponse(t *testing.T, m dap.Message) *dap.StackTraceResponse + func (c *Client) CheckStepBackResponse(t *testing.T, m dap.Message) *dap.StepBackResponse + func (c *Client) CheckStepInResponse(t *testing.T, m dap.Message) *dap.StepInResponse + func (c *Client) CheckStepInTargetsResponse(t *testing.T, m dap.Message) *dap.StepInTargetsResponse + func (c *Client) CheckStepOutResponse(t *testing.T, m dap.Message) *dap.StepOutResponse + func (c *Client) CheckStopLocation(t *testing.T, thread int, name string, line int) + func (c *Client) CheckStoppedEvent(t *testing.T, m dap.Message) *dap.StoppedEvent + func (c *Client) CheckTerminateResponse(t *testing.T, m dap.Message) *dap.TerminateResponse + func (c *Client) CheckTerminateThreadsResponse(t *testing.T, m dap.Message) *dap.TerminateThreadsResponse + func (c *Client) CheckTerminatedEvent(t *testing.T, m dap.Message) *dap.TerminatedEvent + func (c *Client) CheckThreadEvent(t *testing.T, m dap.Message) *dap.ThreadEvent + func (c *Client) CheckThreadsResponse(t *testing.T, m dap.Message) *dap.ThreadsResponse + func (c *Client) CheckVariablesResponse(t *testing.T, m dap.Message) *dap.VariablesResponse + func (c *Client) CheckWriteMemoryResponse(t *testing.T, m dap.Message) *dap.WriteMemoryResponse + func (c *Client) Close() + func (c *Client) CompletionsRequest() + func (c *Client) ConfigurationDoneRequest() + func (c *Client) ContinueRequest(thread int) + func (c *Client) DataBreakpointInfoRequest() + func (c *Client) DisassembleRequest(memoryReference string, instructionOffset, instructionCount int) + func (c *Client) DisconnectRequest() + func (c *Client) DisconnectRequestWithKillOption(kill bool) + func (c *Client) EvaluateRequest(expr string, fid int, context string) + func (c *Client) ExceptionInfoRequest(threadID int) + func (c *Client) ExpectAttachResponse(t *testing.T) *dap.AttachResponse + func (c *Client) ExpectBreakpointEvent(t *testing.T) *dap.BreakpointEvent + func (c *Client) ExpectBreakpointLocationsResponse(t *testing.T) *dap.BreakpointLocationsResponse + func (c *Client) ExpectCancelResponse(t *testing.T) *dap.CancelResponse + func (c *Client) ExpectCapabilitiesEvent(t *testing.T) *dap.CapabilitiesEvent + func (c *Client) ExpectCapabilitiesEventSupportTerminateDebuggee(t *testing.T) *dap.CapabilitiesEvent + func (c *Client) ExpectCompletionsResponse(t *testing.T) *dap.CompletionsResponse + func (c *Client) ExpectConfigurationDoneResponse(t *testing.T) *dap.ConfigurationDoneResponse + func (c *Client) ExpectContinueResponse(t *testing.T) *dap.ContinueResponse + func (c *Client) ExpectContinuedEvent(t *testing.T) *dap.ContinuedEvent + func (c *Client) ExpectDataBreakpointInfoResponse(t *testing.T) *dap.DataBreakpointInfoResponse + func (c *Client) ExpectDisassembleResponse(t *testing.T) *dap.DisassembleResponse + func (c *Client) ExpectDisconnectResponse(t *testing.T) *dap.DisconnectResponse + func (c *Client) ExpectErrorResponse(t *testing.T) *dap.ErrorResponse + func (c *Client) ExpectErrorResponseWith(t *testing.T, id int, message string, showUser bool) *dap.ErrorResponse + func (c *Client) ExpectEvaluateResponse(t *testing.T) *dap.EvaluateResponse + func (c *Client) ExpectExceptionInfoResponse(t *testing.T) *dap.ExceptionInfoResponse + func (c *Client) ExpectExitedEvent(t *testing.T) *dap.ExitedEvent + func (c *Client) ExpectGotoResponse(t *testing.T) *dap.GotoResponse + func (c *Client) ExpectGotoTargetsResponse(t *testing.T) *dap.GotoTargetsResponse + func (c *Client) ExpectInitializeResponse(t *testing.T) *dap.InitializeResponse + func (c *Client) ExpectInitializeResponseAndCapabilities(t *testing.T) *dap.InitializeResponse + func (c *Client) ExpectInitializedEvent(t *testing.T) *dap.InitializedEvent + func (c *Client) ExpectInvalidatedEvent(t *testing.T) *dap.InvalidatedEvent + func (c *Client) ExpectInvisibleErrorResponse(t *testing.T) *dap.ErrorResponse + func (c *Client) ExpectLaunchResponse(t *testing.T) *dap.LaunchResponse + func (c *Client) ExpectLoadedSourceEvent(t *testing.T) *dap.LoadedSourceEvent + func (c *Client) ExpectLoadedSourcesResponse(t *testing.T) *dap.LoadedSourcesResponse + func (c *Client) ExpectMemoryEvent(t *testing.T) *dap.MemoryEvent + func (c *Client) ExpectMessage(t *testing.T) dap.Message + func (c *Client) ExpectModuleEvent(t *testing.T) *dap.ModuleEvent + func (c *Client) ExpectModulesResponse(t *testing.T) *dap.ModulesResponse + func (c *Client) ExpectNextResponse(t *testing.T) *dap.NextResponse + func (c *Client) ExpectNotYetImplementedErrorResponse(t *testing.T) *dap.ErrorResponse + func (c *Client) ExpectOutputEvent(t *testing.T) *dap.OutputEvent + func (c *Client) ExpectOutputEventClosingClient(t *testing.T, status string) *dap.OutputEvent + func (c *Client) ExpectOutputEventDetaching(t *testing.T) *dap.OutputEvent + func (c *Client) ExpectOutputEventDetachingKill(t *testing.T) *dap.OutputEvent + func (c *Client) ExpectOutputEventDetachingNoKill(t *testing.T) *dap.OutputEvent + func (c *Client) ExpectOutputEventProcessExited(t *testing.T, status int) *dap.OutputEvent + func (c *Client) ExpectOutputEventProcessExitedAnyStatus(t *testing.T) *dap.OutputEvent + func (c *Client) ExpectOutputEventRegex(t *testing.T, want string) *dap.OutputEvent + func (c *Client) ExpectOutputEventTerminating(t *testing.T) *dap.OutputEvent + func (c *Client) ExpectPauseResponse(t *testing.T) *dap.PauseResponse + func (c *Client) ExpectProcessEvent(t *testing.T) *dap.ProcessEvent + func (c *Client) ExpectProgressEndEvent(t *testing.T) *dap.ProgressEndEvent + func (c *Client) ExpectProgressStartEvent(t *testing.T) *dap.ProgressStartEvent + func (c *Client) ExpectProgressUpdateEvent(t *testing.T) *dap.ProgressUpdateEvent + func (c *Client) ExpectReadMemoryResponse(t *testing.T) *dap.ReadMemoryResponse + func (c *Client) ExpectRestartFrameResponse(t *testing.T) *dap.RestartFrameResponse + func (c *Client) ExpectRestartResponse(t *testing.T) *dap.RestartResponse + func (c *Client) ExpectReverseContinueResponse(t *testing.T) *dap.ReverseContinueResponse + func (c *Client) ExpectRunInTerminalResponse(t *testing.T) *dap.RunInTerminalResponse + func (c *Client) ExpectScopesResponse(t *testing.T) *dap.ScopesResponse + func (c *Client) ExpectSetBreakpointsResponse(t *testing.T) *dap.SetBreakpointsResponse + func (c *Client) ExpectSetDataBreakpointsResponse(t *testing.T) *dap.SetDataBreakpointsResponse + func (c *Client) ExpectSetExceptionBreakpointsResponse(t *testing.T) *dap.SetExceptionBreakpointsResponse + func (c *Client) ExpectSetExpressionResponse(t *testing.T) *dap.SetExpressionResponse + func (c *Client) ExpectSetFunctionBreakpointsResponse(t *testing.T) *dap.SetFunctionBreakpointsResponse + func (c *Client) ExpectSetInstructionBreakpointsResponse(t *testing.T) *dap.SetInstructionBreakpointsResponse + func (c *Client) ExpectSetVariableResponse(t *testing.T) *dap.SetVariableResponse + func (c *Client) ExpectSourceResponse(t *testing.T) *dap.SourceResponse + func (c *Client) ExpectStackTraceResponse(t *testing.T) *dap.StackTraceResponse + func (c *Client) ExpectStepBackResponse(t *testing.T) *dap.StepBackResponse + func (c *Client) ExpectStepInResponse(t *testing.T) *dap.StepInResponse + func (c *Client) ExpectStepInTargetsResponse(t *testing.T) *dap.StepInTargetsResponse + func (c *Client) ExpectStepOutResponse(t *testing.T) *dap.StepOutResponse + func (c *Client) ExpectStoppedEvent(t *testing.T) *dap.StoppedEvent + func (c *Client) ExpectTerminateResponse(t *testing.T) *dap.TerminateResponse + func (c *Client) ExpectTerminateThreadsResponse(t *testing.T) *dap.TerminateThreadsResponse + func (c *Client) ExpectTerminatedEvent(t *testing.T) *dap.TerminatedEvent + func (c *Client) ExpectThreadEvent(t *testing.T) *dap.ThreadEvent + func (c *Client) ExpectThreadsResponse(t *testing.T) *dap.ThreadsResponse + func (c *Client) ExpectUnsupportedCommandErrorResponse(t *testing.T) *dap.ErrorResponse + func (c *Client) ExpectVariablesResponse(t *testing.T) *dap.VariablesResponse + func (c *Client) ExpectVisibleErrorResponse(t *testing.T) *dap.ErrorResponse + func (c *Client) ExpectWriteMemoryResponse(t *testing.T) *dap.WriteMemoryResponse + func (c *Client) GotoRequest() + func (c *Client) GotoTargetsRequest() + func (c *Client) IndexedVariablesRequest(variablesReference, start, count int) + func (c *Client) InitializeRequest() + func (c *Client) InitializeRequestWithArgs(args dap.InitializeRequestArguments) + func (c *Client) KnownEvent() + func (c *Client) LaunchRequest(mode, program string, stopOnEntry bool) + func (c *Client) LaunchRequestWithArgs(arguments map[string]interface{}) + func (c *Client) LoadedSourcesRequest() + func (c *Client) ModulesRequest() + func (c *Client) NamedVariablesRequest(variablesReference int) + func (c *Client) NextInstructionRequest(thread int) + func (c *Client) NextRequest(thread int) + func (c *Client) PauseRequest(threadId int) + func (c *Client) ReadMemoryRequest() + func (c *Client) ReadMessage() (dap.Message, error) + func (c *Client) RestartFrameRequest() + func (c *Client) RestartRequest() + func (c *Client) ReverseContinueRequest() + func (c *Client) ScopesRequest(frameID int) + func (c *Client) SetBreakpointsRequest(file string, lines []int) + func (c *Client) SetBreakpointsRequestWithArgs(file string, lines []int, ...) + func (c *Client) SetDataBreakpointsRequest() + func (c *Client) SetExceptionBreakpointsRequest() + func (c *Client) SetExpressionRequest() + func (c *Client) SetFunctionBreakpointsRequest(breakpoints []dap.FunctionBreakpoint) + func (c *Client) SetInstructionBreakpointsRequest(breakpoints []dap.InstructionBreakpoint) + func (c *Client) SetVariableRequest(variablesRef int, name, value string) + func (c *Client) SourceRequest() + func (c *Client) StackTraceRequest(threadID, startFrame, levels int) + func (c *Client) StepBackRequest() + func (c *Client) StepInInstructionRequest(thread int) + func (c *Client) StepInRequest(thread int) + func (c *Client) StepInTargetsRequest() + func (c *Client) StepOutInstructionRequest(thread int) + func (c *Client) StepOutRequest(thread int) + func (c *Client) TerminateRequest() + func (c *Client) TerminateThreadsRequest() + func (c *Client) ThreadsRequest() + func (c *Client) UnknownEvent() + func (c *Client) UnknownRequest() + func (c *Client) VariablesRequest(variablesReference int)