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.46.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(completionTriggerCharacters, "completionTriggerCharacters" ), |
87 | DAP_FIELD(exceptionBreakpointFilters, "exceptionBreakpointFilters" ), |
88 | DAP_FIELD(supportTerminateDebuggee, "supportTerminateDebuggee" ), |
89 | DAP_FIELD(supportedChecksumAlgorithms, "supportedChecksumAlgorithms" ), |
90 | DAP_FIELD(supportsBreakpointLocationsRequest, |
91 | "supportsBreakpointLocationsRequest" ), |
92 | DAP_FIELD(supportsCancelRequest, "supportsCancelRequest" ), |
93 | DAP_FIELD(supportsClipboardContext, "supportsClipboardContext" ), |
94 | DAP_FIELD(supportsCompletionsRequest, "supportsCompletionsRequest" ), |
95 | DAP_FIELD(supportsConditionalBreakpoints, "supportsConditionalBreakpoints" ), |
96 | DAP_FIELD(supportsConfigurationDoneRequest, |
97 | "supportsConfigurationDoneRequest" ), |
98 | DAP_FIELD(supportsDataBreakpoints, "supportsDataBreakpoints" ), |
99 | DAP_FIELD(supportsDelayedStackTraceLoading, |
100 | "supportsDelayedStackTraceLoading" ), |
101 | DAP_FIELD(supportsDisassembleRequest, "supportsDisassembleRequest" ), |
102 | DAP_FIELD(supportsEvaluateForHovers, "supportsEvaluateForHovers" ), |
103 | DAP_FIELD(supportsExceptionFilterOptions, "supportsExceptionFilterOptions" ), |
104 | DAP_FIELD(supportsExceptionInfoRequest, "supportsExceptionInfoRequest" ), |
105 | DAP_FIELD(supportsExceptionOptions, "supportsExceptionOptions" ), |
106 | DAP_FIELD(supportsFunctionBreakpoints, "supportsFunctionBreakpoints" ), |
107 | DAP_FIELD(supportsGotoTargetsRequest, "supportsGotoTargetsRequest" ), |
108 | DAP_FIELD(supportsHitConditionalBreakpoints, |
109 | "supportsHitConditionalBreakpoints" ), |
110 | DAP_FIELD(supportsInstructionBreakpoints, "supportsInstructionBreakpoints" ), |
111 | DAP_FIELD(supportsLoadedSourcesRequest, "supportsLoadedSourcesRequest" ), |
112 | DAP_FIELD(supportsLogPoints, "supportsLogPoints" ), |
113 | DAP_FIELD(supportsModulesRequest, "supportsModulesRequest" ), |
114 | DAP_FIELD(supportsReadMemoryRequest, "supportsReadMemoryRequest" ), |
115 | DAP_FIELD(supportsRestartFrame, "supportsRestartFrame" ), |
116 | DAP_FIELD(supportsRestartRequest, "supportsRestartRequest" ), |
117 | DAP_FIELD(supportsSetExpression, "supportsSetExpression" ), |
118 | DAP_FIELD(supportsSetVariable, "supportsSetVariable" ), |
119 | DAP_FIELD(supportsStepBack, "supportsStepBack" ), |
120 | DAP_FIELD(supportsStepInTargetsRequest, "supportsStepInTargetsRequest" ), |
121 | DAP_FIELD(supportsSteppingGranularity, "supportsSteppingGranularity" ), |
122 | DAP_FIELD(supportsTerminateRequest, "supportsTerminateRequest" ), |
123 | DAP_FIELD(supportsTerminateThreadsRequest, |
124 | "supportsTerminateThreadsRequest" ), |
125 | DAP_FIELD(supportsValueFormattingOptions, |
126 | "supportsValueFormattingOptions" )); |
127 | |
128 | DAP_IMPLEMENT_STRUCT_TYPEINFO(LaunchResponse, "" ); |
129 | |
130 | DAP_IMPLEMENT_STRUCT_TYPEINFO(LoadedSourcesResponse, |
131 | "" , |
132 | DAP_FIELD(sources, "sources" )); |
133 | |
134 | DAP_IMPLEMENT_STRUCT_TYPEINFO(ModulesResponse, |
135 | "" , |
136 | DAP_FIELD(modules, "modules" ), |
137 | DAP_FIELD(totalModules, "totalModules" )); |
138 | |
139 | DAP_IMPLEMENT_STRUCT_TYPEINFO(NextResponse, "" ); |
140 | |
141 | DAP_IMPLEMENT_STRUCT_TYPEINFO(PauseResponse, "" ); |
142 | |
143 | DAP_IMPLEMENT_STRUCT_TYPEINFO(ReadMemoryResponse, |
144 | "" , |
145 | DAP_FIELD(address, "address" ), |
146 | DAP_FIELD(data, "data" ), |
147 | DAP_FIELD(unreadableBytes, "unreadableBytes" )); |
148 | |
149 | DAP_IMPLEMENT_STRUCT_TYPEINFO(RestartFrameResponse, "" ); |
150 | |
151 | DAP_IMPLEMENT_STRUCT_TYPEINFO(RestartResponse, "" ); |
152 | |
153 | DAP_IMPLEMENT_STRUCT_TYPEINFO(ReverseContinueResponse, "" ); |
154 | |
155 | DAP_IMPLEMENT_STRUCT_TYPEINFO(RunInTerminalResponse, |
156 | "" , |
157 | DAP_FIELD(processId, "processId" ), |
158 | DAP_FIELD(shellProcessId, "shellProcessId" )); |
159 | |
160 | DAP_IMPLEMENT_STRUCT_TYPEINFO(ScopesResponse, "" , DAP_FIELD(scopes, "scopes" )); |
161 | |
162 | DAP_IMPLEMENT_STRUCT_TYPEINFO(SetBreakpointsResponse, |
163 | "" , |
164 | DAP_FIELD(breakpoints, "breakpoints" )); |
165 | |
166 | DAP_IMPLEMENT_STRUCT_TYPEINFO(SetDataBreakpointsResponse, |
167 | "" , |
168 | DAP_FIELD(breakpoints, "breakpoints" )); |
169 | |
170 | DAP_IMPLEMENT_STRUCT_TYPEINFO(SetExceptionBreakpointsResponse, "" ); |
171 | |
172 | DAP_IMPLEMENT_STRUCT_TYPEINFO(SetExpressionResponse, |
173 | "" , |
174 | DAP_FIELD(indexedVariables, "indexedVariables" ), |
175 | DAP_FIELD(namedVariables, "namedVariables" ), |
176 | DAP_FIELD(presentationHint, "presentationHint" ), |
177 | DAP_FIELD(type, "type" ), |
178 | DAP_FIELD(value, "value" ), |
179 | DAP_FIELD(variablesReference, |
180 | "variablesReference" )); |
181 | |
182 | DAP_IMPLEMENT_STRUCT_TYPEINFO(SetFunctionBreakpointsResponse, |
183 | "" , |
184 | DAP_FIELD(breakpoints, "breakpoints" )); |
185 | |
186 | DAP_IMPLEMENT_STRUCT_TYPEINFO(SetInstructionBreakpointsResponse, |
187 | "" , |
188 | DAP_FIELD(breakpoints, "breakpoints" )); |
189 | |
190 | DAP_IMPLEMENT_STRUCT_TYPEINFO(SetVariableResponse, |
191 | "" , |
192 | DAP_FIELD(indexedVariables, "indexedVariables" ), |
193 | DAP_FIELD(namedVariables, "namedVariables" ), |
194 | DAP_FIELD(type, "type" ), |
195 | DAP_FIELD(value, "value" ), |
196 | DAP_FIELD(variablesReference, |
197 | "variablesReference" )); |
198 | |
199 | DAP_IMPLEMENT_STRUCT_TYPEINFO(SourceResponse, |
200 | "" , |
201 | DAP_FIELD(content, "content" ), |
202 | DAP_FIELD(mimeType, "mimeType" )); |
203 | |
204 | DAP_IMPLEMENT_STRUCT_TYPEINFO(StackTraceResponse, |
205 | "" , |
206 | DAP_FIELD(stackFrames, "stackFrames" ), |
207 | DAP_FIELD(totalFrames, "totalFrames" )); |
208 | |
209 | DAP_IMPLEMENT_STRUCT_TYPEINFO(StepBackResponse, "" ); |
210 | |
211 | DAP_IMPLEMENT_STRUCT_TYPEINFO(StepInResponse, "" ); |
212 | |
213 | DAP_IMPLEMENT_STRUCT_TYPEINFO(StepInTargetsResponse, |
214 | "" , |
215 | DAP_FIELD(targets, "targets" )); |
216 | |
217 | DAP_IMPLEMENT_STRUCT_TYPEINFO(StepOutResponse, "" ); |
218 | |
219 | DAP_IMPLEMENT_STRUCT_TYPEINFO(TerminateResponse, "" ); |
220 | |
221 | DAP_IMPLEMENT_STRUCT_TYPEINFO(TerminateThreadsResponse, "" ); |
222 | |
223 | DAP_IMPLEMENT_STRUCT_TYPEINFO(ThreadsResponse, |
224 | "" , |
225 | DAP_FIELD(threads, "threads" )); |
226 | |
227 | DAP_IMPLEMENT_STRUCT_TYPEINFO(VariablesResponse, |
228 | "" , |
229 | DAP_FIELD(variables, "variables" )); |
230 | |
231 | } // namespace dap |
232 | |