| // Copyright 2019 Google LLC |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // https://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| // Generated with protocol_gen.go -- do not edit this file. |
| // go run scripts/protocol_gen/protocol_gen.go |
| |
| #include "dap/protocol.h" |
| |
| namespace dap { |
| |
| AttachResponse::AttachResponse() = default; |
| AttachResponse::~AttachResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(AttachResponse, ""); |
| |
| BreakpointLocationsResponse::BreakpointLocationsResponse() = default; |
| BreakpointLocationsResponse::~BreakpointLocationsResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(BreakpointLocationsResponse, |
| "", |
| DAP_FIELD(breakpoints, "breakpoints")); |
| |
| CancelResponse::CancelResponse() = default; |
| CancelResponse::~CancelResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(CancelResponse, ""); |
| |
| CompletionsResponse::CompletionsResponse() = default; |
| CompletionsResponse::~CompletionsResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(CompletionsResponse, |
| "", |
| DAP_FIELD(targets, "targets")); |
| |
| ConfigurationDoneResponse::ConfigurationDoneResponse() = default; |
| ConfigurationDoneResponse::~ConfigurationDoneResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(ConfigurationDoneResponse, ""); |
| |
| ContinueResponse::ContinueResponse() = default; |
| ContinueResponse::~ContinueResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(ContinueResponse, |
| "", |
| DAP_FIELD(allThreadsContinued, |
| "allThreadsContinued")); |
| |
| DataBreakpointInfoResponse::DataBreakpointInfoResponse() = default; |
| DataBreakpointInfoResponse::~DataBreakpointInfoResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(DataBreakpointInfoResponse, |
| "", |
| DAP_FIELD(accessTypes, "accessTypes"), |
| DAP_FIELD(canPersist, "canPersist"), |
| DAP_FIELD(dataId, "dataId"), |
| DAP_FIELD(description, "description")); |
| |
| DisassembleResponse::DisassembleResponse() = default; |
| DisassembleResponse::~DisassembleResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(DisassembleResponse, |
| "", |
| DAP_FIELD(instructions, "instructions")); |
| |
| DisconnectResponse::DisconnectResponse() = default; |
| DisconnectResponse::~DisconnectResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(DisconnectResponse, ""); |
| |
| ErrorResponse::ErrorResponse() = default; |
| ErrorResponse::~ErrorResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(ErrorResponse, "", DAP_FIELD(error, "error")); |
| |
| EvaluateResponse::EvaluateResponse() = default; |
| EvaluateResponse::~EvaluateResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(EvaluateResponse, |
| "", |
| DAP_FIELD(indexedVariables, "indexedVariables"), |
| DAP_FIELD(memoryReference, "memoryReference"), |
| DAP_FIELD(namedVariables, "namedVariables"), |
| DAP_FIELD(presentationHint, "presentationHint"), |
| DAP_FIELD(result, "result"), |
| DAP_FIELD(type, "type"), |
| DAP_FIELD(variablesReference, |
| "variablesReference")); |
| |
| ExceptionInfoResponse::ExceptionInfoResponse() = default; |
| ExceptionInfoResponse::~ExceptionInfoResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(ExceptionInfoResponse, |
| "", |
| DAP_FIELD(breakMode, "breakMode"), |
| DAP_FIELD(description, "description"), |
| DAP_FIELD(details, "details"), |
| DAP_FIELD(exceptionId, "exceptionId")); |
| |
| GotoResponse::GotoResponse() = default; |
| GotoResponse::~GotoResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(GotoResponse, ""); |
| |
| GotoTargetsResponse::GotoTargetsResponse() = default; |
| GotoTargetsResponse::~GotoTargetsResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(GotoTargetsResponse, |
| "", |
| DAP_FIELD(targets, "targets")); |
| |
| InitializeResponse::InitializeResponse() = default; |
| InitializeResponse::~InitializeResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO( |
| InitializeResponse, |
| "", |
| DAP_FIELD(additionalModuleColumns, "additionalModuleColumns"), |
| DAP_FIELD(completionTriggerCharacters, "completionTriggerCharacters"), |
| DAP_FIELD(exceptionBreakpointFilters, "exceptionBreakpointFilters"), |
| DAP_FIELD(supportTerminateDebuggee, "supportTerminateDebuggee"), |
| DAP_FIELD(supportedChecksumAlgorithms, "supportedChecksumAlgorithms"), |
| DAP_FIELD(supportsBreakpointLocationsRequest, |
| "supportsBreakpointLocationsRequest"), |
| DAP_FIELD(supportsCancelRequest, "supportsCancelRequest"), |
| DAP_FIELD(supportsClipboardContext, "supportsClipboardContext"), |
| DAP_FIELD(supportsCompletionsRequest, "supportsCompletionsRequest"), |
| DAP_FIELD(supportsConditionalBreakpoints, "supportsConditionalBreakpoints"), |
| DAP_FIELD(supportsConfigurationDoneRequest, |
| "supportsConfigurationDoneRequest"), |
| DAP_FIELD(supportsDataBreakpoints, "supportsDataBreakpoints"), |
| DAP_FIELD(supportsDelayedStackTraceLoading, |
| "supportsDelayedStackTraceLoading"), |
| DAP_FIELD(supportsDisassembleRequest, "supportsDisassembleRequest"), |
| DAP_FIELD(supportsEvaluateForHovers, "supportsEvaluateForHovers"), |
| DAP_FIELD(supportsExceptionInfoRequest, "supportsExceptionInfoRequest"), |
| DAP_FIELD(supportsExceptionOptions, "supportsExceptionOptions"), |
| DAP_FIELD(supportsFunctionBreakpoints, "supportsFunctionBreakpoints"), |
| DAP_FIELD(supportsGotoTargetsRequest, "supportsGotoTargetsRequest"), |
| DAP_FIELD(supportsHitConditionalBreakpoints, |
| "supportsHitConditionalBreakpoints"), |
| DAP_FIELD(supportsLoadedSourcesRequest, "supportsLoadedSourcesRequest"), |
| DAP_FIELD(supportsLogPoints, "supportsLogPoints"), |
| DAP_FIELD(supportsModulesRequest, "supportsModulesRequest"), |
| DAP_FIELD(supportsReadMemoryRequest, "supportsReadMemoryRequest"), |
| DAP_FIELD(supportsRestartFrame, "supportsRestartFrame"), |
| DAP_FIELD(supportsRestartRequest, "supportsRestartRequest"), |
| DAP_FIELD(supportsSetExpression, "supportsSetExpression"), |
| DAP_FIELD(supportsSetVariable, "supportsSetVariable"), |
| DAP_FIELD(supportsStepBack, "supportsStepBack"), |
| DAP_FIELD(supportsStepInTargetsRequest, "supportsStepInTargetsRequest"), |
| DAP_FIELD(supportsTerminateRequest, "supportsTerminateRequest"), |
| DAP_FIELD(supportsTerminateThreadsRequest, |
| "supportsTerminateThreadsRequest"), |
| DAP_FIELD(supportsValueFormattingOptions, |
| "supportsValueFormattingOptions")); |
| |
| LaunchResponse::LaunchResponse() = default; |
| LaunchResponse::~LaunchResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(LaunchResponse, ""); |
| |
| LoadedSourcesResponse::LoadedSourcesResponse() = default; |
| LoadedSourcesResponse::~LoadedSourcesResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(LoadedSourcesResponse, |
| "", |
| DAP_FIELD(sources, "sources")); |
| |
| ModulesResponse::ModulesResponse() = default; |
| ModulesResponse::~ModulesResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(ModulesResponse, |
| "", |
| DAP_FIELD(modules, "modules"), |
| DAP_FIELD(totalModules, "totalModules")); |
| |
| NextResponse::NextResponse() = default; |
| NextResponse::~NextResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(NextResponse, ""); |
| |
| PauseResponse::PauseResponse() = default; |
| PauseResponse::~PauseResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(PauseResponse, ""); |
| |
| ReadMemoryResponse::ReadMemoryResponse() = default; |
| ReadMemoryResponse::~ReadMemoryResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(ReadMemoryResponse, |
| "", |
| DAP_FIELD(address, "address"), |
| DAP_FIELD(data, "data"), |
| DAP_FIELD(unreadableBytes, "unreadableBytes")); |
| |
| RestartFrameResponse::RestartFrameResponse() = default; |
| RestartFrameResponse::~RestartFrameResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(RestartFrameResponse, ""); |
| |
| RestartResponse::RestartResponse() = default; |
| RestartResponse::~RestartResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(RestartResponse, ""); |
| |
| ReverseContinueResponse::ReverseContinueResponse() = default; |
| ReverseContinueResponse::~ReverseContinueResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(ReverseContinueResponse, ""); |
| |
| RunInTerminalResponse::RunInTerminalResponse() = default; |
| RunInTerminalResponse::~RunInTerminalResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(RunInTerminalResponse, |
| "", |
| DAP_FIELD(processId, "processId"), |
| DAP_FIELD(shellProcessId, "shellProcessId")); |
| |
| ScopesResponse::ScopesResponse() = default; |
| ScopesResponse::~ScopesResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(ScopesResponse, "", DAP_FIELD(scopes, "scopes")); |
| |
| SetBreakpointsResponse::SetBreakpointsResponse() = default; |
| SetBreakpointsResponse::~SetBreakpointsResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(SetBreakpointsResponse, |
| "", |
| DAP_FIELD(breakpoints, "breakpoints")); |
| |
| SetDataBreakpointsResponse::SetDataBreakpointsResponse() = default; |
| SetDataBreakpointsResponse::~SetDataBreakpointsResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(SetDataBreakpointsResponse, |
| "", |
| DAP_FIELD(breakpoints, "breakpoints")); |
| |
| SetExceptionBreakpointsResponse::SetExceptionBreakpointsResponse() = default; |
| SetExceptionBreakpointsResponse::~SetExceptionBreakpointsResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(SetExceptionBreakpointsResponse, ""); |
| |
| SetExpressionResponse::SetExpressionResponse() = default; |
| SetExpressionResponse::~SetExpressionResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(SetExpressionResponse, |
| "", |
| DAP_FIELD(indexedVariables, "indexedVariables"), |
| DAP_FIELD(namedVariables, "namedVariables"), |
| DAP_FIELD(presentationHint, "presentationHint"), |
| DAP_FIELD(type, "type"), |
| DAP_FIELD(value, "value"), |
| DAP_FIELD(variablesReference, |
| "variablesReference")); |
| |
| SetFunctionBreakpointsResponse::SetFunctionBreakpointsResponse() = default; |
| SetFunctionBreakpointsResponse::~SetFunctionBreakpointsResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(SetFunctionBreakpointsResponse, |
| "", |
| DAP_FIELD(breakpoints, "breakpoints")); |
| |
| SetVariableResponse::SetVariableResponse() = default; |
| SetVariableResponse::~SetVariableResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(SetVariableResponse, |
| "", |
| DAP_FIELD(indexedVariables, "indexedVariables"), |
| DAP_FIELD(namedVariables, "namedVariables"), |
| DAP_FIELD(type, "type"), |
| DAP_FIELD(value, "value"), |
| DAP_FIELD(variablesReference, |
| "variablesReference")); |
| |
| SourceResponse::SourceResponse() = default; |
| SourceResponse::~SourceResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(SourceResponse, |
| "", |
| DAP_FIELD(content, "content"), |
| DAP_FIELD(mimeType, "mimeType")); |
| |
| StackTraceResponse::StackTraceResponse() = default; |
| StackTraceResponse::~StackTraceResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(StackTraceResponse, |
| "", |
| DAP_FIELD(stackFrames, "stackFrames"), |
| DAP_FIELD(totalFrames, "totalFrames")); |
| |
| StepBackResponse::StepBackResponse() = default; |
| StepBackResponse::~StepBackResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(StepBackResponse, ""); |
| |
| StepInResponse::StepInResponse() = default; |
| StepInResponse::~StepInResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(StepInResponse, ""); |
| |
| StepInTargetsResponse::StepInTargetsResponse() = default; |
| StepInTargetsResponse::~StepInTargetsResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(StepInTargetsResponse, |
| "", |
| DAP_FIELD(targets, "targets")); |
| |
| StepOutResponse::StepOutResponse() = default; |
| StepOutResponse::~StepOutResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(StepOutResponse, ""); |
| |
| TerminateResponse::TerminateResponse() = default; |
| TerminateResponse::~TerminateResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(TerminateResponse, ""); |
| |
| TerminateThreadsResponse::TerminateThreadsResponse() = default; |
| TerminateThreadsResponse::~TerminateThreadsResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(TerminateThreadsResponse, ""); |
| |
| ThreadsResponse::ThreadsResponse() = default; |
| ThreadsResponse::~ThreadsResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(ThreadsResponse, |
| "", |
| DAP_FIELD(threads, "threads")); |
| |
| VariablesResponse::VariablesResponse() = default; |
| VariablesResponse::~VariablesResponse() = default; |
| DAP_IMPLEMENT_STRUCT_TYPEINFO(VariablesResponse, |
| "", |
| DAP_FIELD(variables, "variables")); |
| |
| } // namespace dap |