Path: blob/master/Utilities/cmcppdap/src/protocol_response.cpp
3153 views
// Copyright 2019 Google LLC1//2// Licensed under the Apache License, Version 2.0 (the "License");3// you may not use this file except in compliance with the License.4// You may obtain a copy of the License at5//6// https://www.apache.org/licenses/LICENSE-2.07//8// Unless required by applicable law or agreed to in writing, software9// distributed under the License is distributed on an "AS IS" BASIS,10// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.11// See the License for the specific language governing permissions and12// limitations under the License.1314// Generated with protocol_gen.go -- do not edit this file.15// go run scripts/protocol_gen/protocol_gen.go16//17// DAP version 1.65.01819#include "dap/protocol.h"2021namespace dap {2223DAP_IMPLEMENT_STRUCT_TYPEINFO(AttachResponse, "");2425DAP_IMPLEMENT_STRUCT_TYPEINFO(BreakpointLocationsResponse,26"",27DAP_FIELD(breakpoints, "breakpoints"));2829DAP_IMPLEMENT_STRUCT_TYPEINFO(CancelResponse, "");3031DAP_IMPLEMENT_STRUCT_TYPEINFO(CompletionsResponse,32"",33DAP_FIELD(targets, "targets"));3435DAP_IMPLEMENT_STRUCT_TYPEINFO(ConfigurationDoneResponse, "");3637DAP_IMPLEMENT_STRUCT_TYPEINFO(ContinueResponse,38"",39DAP_FIELD(allThreadsContinued,40"allThreadsContinued"));4142DAP_IMPLEMENT_STRUCT_TYPEINFO(DataBreakpointInfoResponse,43"",44DAP_FIELD(accessTypes, "accessTypes"),45DAP_FIELD(canPersist, "canPersist"),46DAP_FIELD(dataId, "dataId"),47DAP_FIELD(description, "description"));4849DAP_IMPLEMENT_STRUCT_TYPEINFO(DisassembleResponse,50"",51DAP_FIELD(instructions, "instructions"));5253DAP_IMPLEMENT_STRUCT_TYPEINFO(DisconnectResponse, "");5455DAP_IMPLEMENT_STRUCT_TYPEINFO(ErrorResponse, "", DAP_FIELD(error, "error"));5657DAP_IMPLEMENT_STRUCT_TYPEINFO(EvaluateResponse,58"",59DAP_FIELD(indexedVariables, "indexedVariables"),60DAP_FIELD(memoryReference, "memoryReference"),61DAP_FIELD(namedVariables, "namedVariables"),62DAP_FIELD(presentationHint, "presentationHint"),63DAP_FIELD(result, "result"),64DAP_FIELD(type, "type"),65DAP_FIELD(variablesReference,66"variablesReference"));6768DAP_IMPLEMENT_STRUCT_TYPEINFO(ExceptionInfoResponse,69"",70DAP_FIELD(breakMode, "breakMode"),71DAP_FIELD(description, "description"),72DAP_FIELD(details, "details"),73DAP_FIELD(exceptionId, "exceptionId"));7475DAP_IMPLEMENT_STRUCT_TYPEINFO(GotoResponse, "");7677DAP_IMPLEMENT_STRUCT_TYPEINFO(GotoTargetsResponse,78"",79DAP_FIELD(targets, "targets"));8081DAP_IMPLEMENT_STRUCT_TYPEINFO(82InitializeResponse,83"",84DAP_FIELD(additionalModuleColumns, "additionalModuleColumns"),85DAP_FIELD(breakpointModes, "breakpointModes"),86DAP_FIELD(completionTriggerCharacters, "completionTriggerCharacters"),87DAP_FIELD(exceptionBreakpointFilters, "exceptionBreakpointFilters"),88DAP_FIELD(supportSuspendDebuggee, "supportSuspendDebuggee"),89DAP_FIELD(supportTerminateDebuggee, "supportTerminateDebuggee"),90DAP_FIELD(supportedChecksumAlgorithms, "supportedChecksumAlgorithms"),91DAP_FIELD(supportsBreakpointLocationsRequest,92"supportsBreakpointLocationsRequest"),93DAP_FIELD(supportsCancelRequest, "supportsCancelRequest"),94DAP_FIELD(supportsClipboardContext, "supportsClipboardContext"),95DAP_FIELD(supportsCompletionsRequest, "supportsCompletionsRequest"),96DAP_FIELD(supportsConditionalBreakpoints, "supportsConditionalBreakpoints"),97DAP_FIELD(supportsConfigurationDoneRequest,98"supportsConfigurationDoneRequest"),99DAP_FIELD(supportsDataBreakpoints, "supportsDataBreakpoints"),100DAP_FIELD(supportsDelayedStackTraceLoading,101"supportsDelayedStackTraceLoading"),102DAP_FIELD(supportsDisassembleRequest, "supportsDisassembleRequest"),103DAP_FIELD(supportsEvaluateForHovers, "supportsEvaluateForHovers"),104DAP_FIELD(supportsExceptionFilterOptions, "supportsExceptionFilterOptions"),105DAP_FIELD(supportsExceptionInfoRequest, "supportsExceptionInfoRequest"),106DAP_FIELD(supportsExceptionOptions, "supportsExceptionOptions"),107DAP_FIELD(supportsFunctionBreakpoints, "supportsFunctionBreakpoints"),108DAP_FIELD(supportsGotoTargetsRequest, "supportsGotoTargetsRequest"),109DAP_FIELD(supportsHitConditionalBreakpoints,110"supportsHitConditionalBreakpoints"),111DAP_FIELD(supportsInstructionBreakpoints, "supportsInstructionBreakpoints"),112DAP_FIELD(supportsLoadedSourcesRequest, "supportsLoadedSourcesRequest"),113DAP_FIELD(supportsLogPoints, "supportsLogPoints"),114DAP_FIELD(supportsModulesRequest, "supportsModulesRequest"),115DAP_FIELD(supportsReadMemoryRequest, "supportsReadMemoryRequest"),116DAP_FIELD(supportsRestartFrame, "supportsRestartFrame"),117DAP_FIELD(supportsRestartRequest, "supportsRestartRequest"),118DAP_FIELD(supportsSetExpression, "supportsSetExpression"),119DAP_FIELD(supportsSetVariable, "supportsSetVariable"),120DAP_FIELD(supportsSingleThreadExecutionRequests,121"supportsSingleThreadExecutionRequests"),122DAP_FIELD(supportsStepBack, "supportsStepBack"),123DAP_FIELD(supportsStepInTargetsRequest, "supportsStepInTargetsRequest"),124DAP_FIELD(supportsSteppingGranularity, "supportsSteppingGranularity"),125DAP_FIELD(supportsTerminateRequest, "supportsTerminateRequest"),126DAP_FIELD(supportsTerminateThreadsRequest,127"supportsTerminateThreadsRequest"),128DAP_FIELD(supportsValueFormattingOptions, "supportsValueFormattingOptions"),129DAP_FIELD(supportsWriteMemoryRequest, "supportsWriteMemoryRequest"));130131DAP_IMPLEMENT_STRUCT_TYPEINFO(LaunchResponse, "");132133DAP_IMPLEMENT_STRUCT_TYPEINFO(LoadedSourcesResponse,134"",135DAP_FIELD(sources, "sources"));136137DAP_IMPLEMENT_STRUCT_TYPEINFO(ModulesResponse,138"",139DAP_FIELD(modules, "modules"),140DAP_FIELD(totalModules, "totalModules"));141142DAP_IMPLEMENT_STRUCT_TYPEINFO(NextResponse, "");143144DAP_IMPLEMENT_STRUCT_TYPEINFO(PauseResponse, "");145146DAP_IMPLEMENT_STRUCT_TYPEINFO(ReadMemoryResponse,147"",148DAP_FIELD(address, "address"),149DAP_FIELD(data, "data"),150DAP_FIELD(unreadableBytes, "unreadableBytes"));151152DAP_IMPLEMENT_STRUCT_TYPEINFO(RestartFrameResponse, "");153154DAP_IMPLEMENT_STRUCT_TYPEINFO(RestartResponse, "");155156DAP_IMPLEMENT_STRUCT_TYPEINFO(ReverseContinueResponse, "");157158DAP_IMPLEMENT_STRUCT_TYPEINFO(RunInTerminalResponse,159"",160DAP_FIELD(processId, "processId"),161DAP_FIELD(shellProcessId, "shellProcessId"));162163DAP_IMPLEMENT_STRUCT_TYPEINFO(ScopesResponse, "", DAP_FIELD(scopes, "scopes"));164165DAP_IMPLEMENT_STRUCT_TYPEINFO(SetBreakpointsResponse,166"",167DAP_FIELD(breakpoints, "breakpoints"));168169DAP_IMPLEMENT_STRUCT_TYPEINFO(SetDataBreakpointsResponse,170"",171DAP_FIELD(breakpoints, "breakpoints"));172173DAP_IMPLEMENT_STRUCT_TYPEINFO(SetExceptionBreakpointsResponse,174"",175DAP_FIELD(breakpoints, "breakpoints"));176177DAP_IMPLEMENT_STRUCT_TYPEINFO(SetExpressionResponse,178"",179DAP_FIELD(indexedVariables, "indexedVariables"),180DAP_FIELD(memoryReference, "memoryReference"),181DAP_FIELD(namedVariables, "namedVariables"),182DAP_FIELD(presentationHint, "presentationHint"),183DAP_FIELD(type, "type"),184DAP_FIELD(value, "value"),185DAP_FIELD(variablesReference,186"variablesReference"));187188DAP_IMPLEMENT_STRUCT_TYPEINFO(SetFunctionBreakpointsResponse,189"",190DAP_FIELD(breakpoints, "breakpoints"));191192DAP_IMPLEMENT_STRUCT_TYPEINFO(SetInstructionBreakpointsResponse,193"",194DAP_FIELD(breakpoints, "breakpoints"));195196DAP_IMPLEMENT_STRUCT_TYPEINFO(SetVariableResponse,197"",198DAP_FIELD(indexedVariables, "indexedVariables"),199DAP_FIELD(memoryReference, "memoryReference"),200DAP_FIELD(namedVariables, "namedVariables"),201DAP_FIELD(type, "type"),202DAP_FIELD(value, "value"),203DAP_FIELD(variablesReference,204"variablesReference"));205206DAP_IMPLEMENT_STRUCT_TYPEINFO(SourceResponse,207"",208DAP_FIELD(content, "content"),209DAP_FIELD(mimeType, "mimeType"));210211DAP_IMPLEMENT_STRUCT_TYPEINFO(StackTraceResponse,212"",213DAP_FIELD(stackFrames, "stackFrames"),214DAP_FIELD(totalFrames, "totalFrames"));215216DAP_IMPLEMENT_STRUCT_TYPEINFO(StartDebuggingResponse, "");217218DAP_IMPLEMENT_STRUCT_TYPEINFO(StepBackResponse, "");219220DAP_IMPLEMENT_STRUCT_TYPEINFO(StepInResponse, "");221222DAP_IMPLEMENT_STRUCT_TYPEINFO(StepInTargetsResponse,223"",224DAP_FIELD(targets, "targets"));225226DAP_IMPLEMENT_STRUCT_TYPEINFO(StepOutResponse, "");227228DAP_IMPLEMENT_STRUCT_TYPEINFO(TerminateResponse, "");229230DAP_IMPLEMENT_STRUCT_TYPEINFO(TerminateThreadsResponse, "");231232DAP_IMPLEMENT_STRUCT_TYPEINFO(ThreadsResponse,233"",234DAP_FIELD(threads, "threads"));235236DAP_IMPLEMENT_STRUCT_TYPEINFO(VariablesResponse,237"",238DAP_FIELD(variables, "variables"));239240DAP_IMPLEMENT_STRUCT_TYPEINFO(WriteMemoryResponse,241"",242DAP_FIELD(bytesWritten, "bytesWritten"),243DAP_FIELD(offset, "offset"));244245} // namespace dap246247248