Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/cmcppdap/src/protocol_response.cpp
3153 views
1
// Copyright 2019 Google LLC
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// https://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
// Generated with protocol_gen.go -- do not edit this file.
16
// go run scripts/protocol_gen/protocol_gen.go
17
//
18
// DAP version 1.65.0
19
20
#include "dap/protocol.h"
21
22
namespace dap {
23
24
DAP_IMPLEMENT_STRUCT_TYPEINFO(AttachResponse, "");
25
26
DAP_IMPLEMENT_STRUCT_TYPEINFO(BreakpointLocationsResponse,
27
"",
28
DAP_FIELD(breakpoints, "breakpoints"));
29
30
DAP_IMPLEMENT_STRUCT_TYPEINFO(CancelResponse, "");
31
32
DAP_IMPLEMENT_STRUCT_TYPEINFO(CompletionsResponse,
33
"",
34
DAP_FIELD(targets, "targets"));
35
36
DAP_IMPLEMENT_STRUCT_TYPEINFO(ConfigurationDoneResponse, "");
37
38
DAP_IMPLEMENT_STRUCT_TYPEINFO(ContinueResponse,
39
"",
40
DAP_FIELD(allThreadsContinued,
41
"allThreadsContinued"));
42
43
DAP_IMPLEMENT_STRUCT_TYPEINFO(DataBreakpointInfoResponse,
44
"",
45
DAP_FIELD(accessTypes, "accessTypes"),
46
DAP_FIELD(canPersist, "canPersist"),
47
DAP_FIELD(dataId, "dataId"),
48
DAP_FIELD(description, "description"));
49
50
DAP_IMPLEMENT_STRUCT_TYPEINFO(DisassembleResponse,
51
"",
52
DAP_FIELD(instructions, "instructions"));
53
54
DAP_IMPLEMENT_STRUCT_TYPEINFO(DisconnectResponse, "");
55
56
DAP_IMPLEMENT_STRUCT_TYPEINFO(ErrorResponse, "", DAP_FIELD(error, "error"));
57
58
DAP_IMPLEMENT_STRUCT_TYPEINFO(EvaluateResponse,
59
"",
60
DAP_FIELD(indexedVariables, "indexedVariables"),
61
DAP_FIELD(memoryReference, "memoryReference"),
62
DAP_FIELD(namedVariables, "namedVariables"),
63
DAP_FIELD(presentationHint, "presentationHint"),
64
DAP_FIELD(result, "result"),
65
DAP_FIELD(type, "type"),
66
DAP_FIELD(variablesReference,
67
"variablesReference"));
68
69
DAP_IMPLEMENT_STRUCT_TYPEINFO(ExceptionInfoResponse,
70
"",
71
DAP_FIELD(breakMode, "breakMode"),
72
DAP_FIELD(description, "description"),
73
DAP_FIELD(details, "details"),
74
DAP_FIELD(exceptionId, "exceptionId"));
75
76
DAP_IMPLEMENT_STRUCT_TYPEINFO(GotoResponse, "");
77
78
DAP_IMPLEMENT_STRUCT_TYPEINFO(GotoTargetsResponse,
79
"",
80
DAP_FIELD(targets, "targets"));
81
82
DAP_IMPLEMENT_STRUCT_TYPEINFO(
83
InitializeResponse,
84
"",
85
DAP_FIELD(additionalModuleColumns, "additionalModuleColumns"),
86
DAP_FIELD(breakpointModes, "breakpointModes"),
87
DAP_FIELD(completionTriggerCharacters, "completionTriggerCharacters"),
88
DAP_FIELD(exceptionBreakpointFilters, "exceptionBreakpointFilters"),
89
DAP_FIELD(supportSuspendDebuggee, "supportSuspendDebuggee"),
90
DAP_FIELD(supportTerminateDebuggee, "supportTerminateDebuggee"),
91
DAP_FIELD(supportedChecksumAlgorithms, "supportedChecksumAlgorithms"),
92
DAP_FIELD(supportsBreakpointLocationsRequest,
93
"supportsBreakpointLocationsRequest"),
94
DAP_FIELD(supportsCancelRequest, "supportsCancelRequest"),
95
DAP_FIELD(supportsClipboardContext, "supportsClipboardContext"),
96
DAP_FIELD(supportsCompletionsRequest, "supportsCompletionsRequest"),
97
DAP_FIELD(supportsConditionalBreakpoints, "supportsConditionalBreakpoints"),
98
DAP_FIELD(supportsConfigurationDoneRequest,
99
"supportsConfigurationDoneRequest"),
100
DAP_FIELD(supportsDataBreakpoints, "supportsDataBreakpoints"),
101
DAP_FIELD(supportsDelayedStackTraceLoading,
102
"supportsDelayedStackTraceLoading"),
103
DAP_FIELD(supportsDisassembleRequest, "supportsDisassembleRequest"),
104
DAP_FIELD(supportsEvaluateForHovers, "supportsEvaluateForHovers"),
105
DAP_FIELD(supportsExceptionFilterOptions, "supportsExceptionFilterOptions"),
106
DAP_FIELD(supportsExceptionInfoRequest, "supportsExceptionInfoRequest"),
107
DAP_FIELD(supportsExceptionOptions, "supportsExceptionOptions"),
108
DAP_FIELD(supportsFunctionBreakpoints, "supportsFunctionBreakpoints"),
109
DAP_FIELD(supportsGotoTargetsRequest, "supportsGotoTargetsRequest"),
110
DAP_FIELD(supportsHitConditionalBreakpoints,
111
"supportsHitConditionalBreakpoints"),
112
DAP_FIELD(supportsInstructionBreakpoints, "supportsInstructionBreakpoints"),
113
DAP_FIELD(supportsLoadedSourcesRequest, "supportsLoadedSourcesRequest"),
114
DAP_FIELD(supportsLogPoints, "supportsLogPoints"),
115
DAP_FIELD(supportsModulesRequest, "supportsModulesRequest"),
116
DAP_FIELD(supportsReadMemoryRequest, "supportsReadMemoryRequest"),
117
DAP_FIELD(supportsRestartFrame, "supportsRestartFrame"),
118
DAP_FIELD(supportsRestartRequest, "supportsRestartRequest"),
119
DAP_FIELD(supportsSetExpression, "supportsSetExpression"),
120
DAP_FIELD(supportsSetVariable, "supportsSetVariable"),
121
DAP_FIELD(supportsSingleThreadExecutionRequests,
122
"supportsSingleThreadExecutionRequests"),
123
DAP_FIELD(supportsStepBack, "supportsStepBack"),
124
DAP_FIELD(supportsStepInTargetsRequest, "supportsStepInTargetsRequest"),
125
DAP_FIELD(supportsSteppingGranularity, "supportsSteppingGranularity"),
126
DAP_FIELD(supportsTerminateRequest, "supportsTerminateRequest"),
127
DAP_FIELD(supportsTerminateThreadsRequest,
128
"supportsTerminateThreadsRequest"),
129
DAP_FIELD(supportsValueFormattingOptions, "supportsValueFormattingOptions"),
130
DAP_FIELD(supportsWriteMemoryRequest, "supportsWriteMemoryRequest"));
131
132
DAP_IMPLEMENT_STRUCT_TYPEINFO(LaunchResponse, "");
133
134
DAP_IMPLEMENT_STRUCT_TYPEINFO(LoadedSourcesResponse,
135
"",
136
DAP_FIELD(sources, "sources"));
137
138
DAP_IMPLEMENT_STRUCT_TYPEINFO(ModulesResponse,
139
"",
140
DAP_FIELD(modules, "modules"),
141
DAP_FIELD(totalModules, "totalModules"));
142
143
DAP_IMPLEMENT_STRUCT_TYPEINFO(NextResponse, "");
144
145
DAP_IMPLEMENT_STRUCT_TYPEINFO(PauseResponse, "");
146
147
DAP_IMPLEMENT_STRUCT_TYPEINFO(ReadMemoryResponse,
148
"",
149
DAP_FIELD(address, "address"),
150
DAP_FIELD(data, "data"),
151
DAP_FIELD(unreadableBytes, "unreadableBytes"));
152
153
DAP_IMPLEMENT_STRUCT_TYPEINFO(RestartFrameResponse, "");
154
155
DAP_IMPLEMENT_STRUCT_TYPEINFO(RestartResponse, "");
156
157
DAP_IMPLEMENT_STRUCT_TYPEINFO(ReverseContinueResponse, "");
158
159
DAP_IMPLEMENT_STRUCT_TYPEINFO(RunInTerminalResponse,
160
"",
161
DAP_FIELD(processId, "processId"),
162
DAP_FIELD(shellProcessId, "shellProcessId"));
163
164
DAP_IMPLEMENT_STRUCT_TYPEINFO(ScopesResponse, "", DAP_FIELD(scopes, "scopes"));
165
166
DAP_IMPLEMENT_STRUCT_TYPEINFO(SetBreakpointsResponse,
167
"",
168
DAP_FIELD(breakpoints, "breakpoints"));
169
170
DAP_IMPLEMENT_STRUCT_TYPEINFO(SetDataBreakpointsResponse,
171
"",
172
DAP_FIELD(breakpoints, "breakpoints"));
173
174
DAP_IMPLEMENT_STRUCT_TYPEINFO(SetExceptionBreakpointsResponse,
175
"",
176
DAP_FIELD(breakpoints, "breakpoints"));
177
178
DAP_IMPLEMENT_STRUCT_TYPEINFO(SetExpressionResponse,
179
"",
180
DAP_FIELD(indexedVariables, "indexedVariables"),
181
DAP_FIELD(memoryReference, "memoryReference"),
182
DAP_FIELD(namedVariables, "namedVariables"),
183
DAP_FIELD(presentationHint, "presentationHint"),
184
DAP_FIELD(type, "type"),
185
DAP_FIELD(value, "value"),
186
DAP_FIELD(variablesReference,
187
"variablesReference"));
188
189
DAP_IMPLEMENT_STRUCT_TYPEINFO(SetFunctionBreakpointsResponse,
190
"",
191
DAP_FIELD(breakpoints, "breakpoints"));
192
193
DAP_IMPLEMENT_STRUCT_TYPEINFO(SetInstructionBreakpointsResponse,
194
"",
195
DAP_FIELD(breakpoints, "breakpoints"));
196
197
DAP_IMPLEMENT_STRUCT_TYPEINFO(SetVariableResponse,
198
"",
199
DAP_FIELD(indexedVariables, "indexedVariables"),
200
DAP_FIELD(memoryReference, "memoryReference"),
201
DAP_FIELD(namedVariables, "namedVariables"),
202
DAP_FIELD(type, "type"),
203
DAP_FIELD(value, "value"),
204
DAP_FIELD(variablesReference,
205
"variablesReference"));
206
207
DAP_IMPLEMENT_STRUCT_TYPEINFO(SourceResponse,
208
"",
209
DAP_FIELD(content, "content"),
210
DAP_FIELD(mimeType, "mimeType"));
211
212
DAP_IMPLEMENT_STRUCT_TYPEINFO(StackTraceResponse,
213
"",
214
DAP_FIELD(stackFrames, "stackFrames"),
215
DAP_FIELD(totalFrames, "totalFrames"));
216
217
DAP_IMPLEMENT_STRUCT_TYPEINFO(StartDebuggingResponse, "");
218
219
DAP_IMPLEMENT_STRUCT_TYPEINFO(StepBackResponse, "");
220
221
DAP_IMPLEMENT_STRUCT_TYPEINFO(StepInResponse, "");
222
223
DAP_IMPLEMENT_STRUCT_TYPEINFO(StepInTargetsResponse,
224
"",
225
DAP_FIELD(targets, "targets"));
226
227
DAP_IMPLEMENT_STRUCT_TYPEINFO(StepOutResponse, "");
228
229
DAP_IMPLEMENT_STRUCT_TYPEINFO(TerminateResponse, "");
230
231
DAP_IMPLEMENT_STRUCT_TYPEINFO(TerminateThreadsResponse, "");
232
233
DAP_IMPLEMENT_STRUCT_TYPEINFO(ThreadsResponse,
234
"",
235
DAP_FIELD(threads, "threads"));
236
237
DAP_IMPLEMENT_STRUCT_TYPEINFO(VariablesResponse,
238
"",
239
DAP_FIELD(variables, "variables"));
240
241
DAP_IMPLEMENT_STRUCT_TYPEINFO(WriteMemoryResponse,
242
"",
243
DAP_FIELD(bytesWritten, "bytesWritten"),
244
DAP_FIELD(offset, "offset"));
245
246
} // namespace dap
247
248