| 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(Checksum, |
| 25 |
"", |
| 26 |
DAP_FIELD(algorithm, "algorithm"), |
| 27 |
DAP_FIELD(checksum, "checksum")); |
| 28 |
|
| 29 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(Source, |
| 30 |
"", |
| 31 |
DAP_FIELD(adapterData, "adapterData"), |
| 32 |
DAP_FIELD(checksums, "checksums"), |
| 33 |
DAP_FIELD(name, "name"), |
| 34 |
DAP_FIELD(origin, "origin"), |
| 35 |
DAP_FIELD(path, "path"), |
| 36 |
DAP_FIELD(presentationHint, "presentationHint"), |
| 37 |
DAP_FIELD(sourceReference, "sourceReference"), |
| 38 |
DAP_FIELD(sources, "sources")); |
| 39 |
|
| 40 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(Breakpoint, |
| 41 |
"", |
| 42 |
DAP_FIELD(column, "column"), |
| 43 |
DAP_FIELD(endColumn, "endColumn"), |
| 44 |
DAP_FIELD(endLine, "endLine"), |
| 45 |
DAP_FIELD(id, "id"), |
| 46 |
DAP_FIELD(instructionReference, |
| 47 |
"instructionReference"), |
| 48 |
DAP_FIELD(line, "line"), |
| 49 |
DAP_FIELD(message, "message"), |
| 50 |
DAP_FIELD(offset, "offset"), |
| 51 |
DAP_FIELD(reason, "reason"), |
| 52 |
DAP_FIELD(source, "source"), |
| 53 |
DAP_FIELD(verified, "verified")); |
| 54 |
|
| 55 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(BreakpointLocation, |
| 56 |
"", |
| 57 |
DAP_FIELD(column, "column"), |
| 58 |
DAP_FIELD(endColumn, "endColumn"), |
| 59 |
DAP_FIELD(endLine, "endLine"), |
| 60 |
DAP_FIELD(line, "line")); |
| 61 |
|
| 62 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(ColumnDescriptor, |
| 63 |
"", |
| 64 |
DAP_FIELD(attributeName, "attributeName"), |
| 65 |
DAP_FIELD(format, "format"), |
| 66 |
DAP_FIELD(label, "label"), |
| 67 |
DAP_FIELD(type, "type"), |
| 68 |
DAP_FIELD(width, "width")); |
| 69 |
|
| 70 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(BreakpointMode, |
| 71 |
"", |
| 72 |
DAP_FIELD(appliesTo, "appliesTo"), |
| 73 |
DAP_FIELD(description, "description"), |
| 74 |
DAP_FIELD(label, "label"), |
| 75 |
DAP_FIELD(mode, "mode")); |
| 76 |
|
| 77 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(ExceptionBreakpointsFilter, |
| 78 |
"", |
| 79 |
DAP_FIELD(conditionDescription, |
| 80 |
"conditionDescription"), |
| 81 |
DAP_FIELD(def, "default"), |
| 82 |
DAP_FIELD(description, "description"), |
| 83 |
DAP_FIELD(filter, "filter"), |
| 84 |
DAP_FIELD(label, "label"), |
| 85 |
DAP_FIELD(supportsCondition, |
| 86 |
"supportsCondition")); |
| 87 |
|
| 88 |
DAP_IMPLEMENT_STRUCT_TYPEINFO( |
| 89 |
Capabilities, |
| 90 |
"", |
| 91 |
DAP_FIELD(additionalModuleColumns, "additionalModuleColumns"), |
| 92 |
DAP_FIELD(breakpointModes, "breakpointModes"), |
| 93 |
DAP_FIELD(completionTriggerCharacters, "completionTriggerCharacters"), |
| 94 |
DAP_FIELD(exceptionBreakpointFilters, "exceptionBreakpointFilters"), |
| 95 |
DAP_FIELD(supportSuspendDebuggee, "supportSuspendDebuggee"), |
| 96 |
DAP_FIELD(supportTerminateDebuggee, "supportTerminateDebuggee"), |
| 97 |
DAP_FIELD(supportedChecksumAlgorithms, "supportedChecksumAlgorithms"), |
| 98 |
DAP_FIELD(supportsBreakpointLocationsRequest, |
| 99 |
"supportsBreakpointLocationsRequest"), |
| 100 |
DAP_FIELD(supportsCancelRequest, "supportsCancelRequest"), |
| 101 |
DAP_FIELD(supportsClipboardContext, "supportsClipboardContext"), |
| 102 |
DAP_FIELD(supportsCompletionsRequest, "supportsCompletionsRequest"), |
| 103 |
DAP_FIELD(supportsConditionalBreakpoints, "supportsConditionalBreakpoints"), |
| 104 |
DAP_FIELD(supportsConfigurationDoneRequest, |
| 105 |
"supportsConfigurationDoneRequest"), |
| 106 |
DAP_FIELD(supportsDataBreakpoints, "supportsDataBreakpoints"), |
| 107 |
DAP_FIELD(supportsDelayedStackTraceLoading, |
| 108 |
"supportsDelayedStackTraceLoading"), |
| 109 |
DAP_FIELD(supportsDisassembleRequest, "supportsDisassembleRequest"), |
| 110 |
DAP_FIELD(supportsEvaluateForHovers, "supportsEvaluateForHovers"), |
| 111 |
DAP_FIELD(supportsExceptionFilterOptions, "supportsExceptionFilterOptions"), |
| 112 |
DAP_FIELD(supportsExceptionInfoRequest, "supportsExceptionInfoRequest"), |
| 113 |
DAP_FIELD(supportsExceptionOptions, "supportsExceptionOptions"), |
| 114 |
DAP_FIELD(supportsFunctionBreakpoints, "supportsFunctionBreakpoints"), |
| 115 |
DAP_FIELD(supportsGotoTargetsRequest, "supportsGotoTargetsRequest"), |
| 116 |
DAP_FIELD(supportsHitConditionalBreakpoints, |
| 117 |
"supportsHitConditionalBreakpoints"), |
| 118 |
DAP_FIELD(supportsInstructionBreakpoints, "supportsInstructionBreakpoints"), |
| 119 |
DAP_FIELD(supportsLoadedSourcesRequest, "supportsLoadedSourcesRequest"), |
| 120 |
DAP_FIELD(supportsLogPoints, "supportsLogPoints"), |
| 121 |
DAP_FIELD(supportsModulesRequest, "supportsModulesRequest"), |
| 122 |
DAP_FIELD(supportsReadMemoryRequest, "supportsReadMemoryRequest"), |
| 123 |
DAP_FIELD(supportsRestartFrame, "supportsRestartFrame"), |
| 124 |
DAP_FIELD(supportsRestartRequest, "supportsRestartRequest"), |
| 125 |
DAP_FIELD(supportsSetExpression, "supportsSetExpression"), |
| 126 |
DAP_FIELD(supportsSetVariable, "supportsSetVariable"), |
| 127 |
DAP_FIELD(supportsSingleThreadExecutionRequests, |
| 128 |
"supportsSingleThreadExecutionRequests"), |
| 129 |
DAP_FIELD(supportsStepBack, "supportsStepBack"), |
| 130 |
DAP_FIELD(supportsStepInTargetsRequest, "supportsStepInTargetsRequest"), |
| 131 |
DAP_FIELD(supportsSteppingGranularity, "supportsSteppingGranularity"), |
| 132 |
DAP_FIELD(supportsTerminateRequest, "supportsTerminateRequest"), |
| 133 |
DAP_FIELD(supportsTerminateThreadsRequest, |
| 134 |
"supportsTerminateThreadsRequest"), |
| 135 |
DAP_FIELD(supportsValueFormattingOptions, "supportsValueFormattingOptions"), |
| 136 |
DAP_FIELD(supportsWriteMemoryRequest, "supportsWriteMemoryRequest")); |
| 137 |
|
| 138 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(CompletionItem, |
| 139 |
"", |
| 140 |
DAP_FIELD(detail, "detail"), |
| 141 |
DAP_FIELD(label, "label"), |
| 142 |
DAP_FIELD(length, "length"), |
| 143 |
DAP_FIELD(selectionLength, "selectionLength"), |
| 144 |
DAP_FIELD(selectionStart, "selectionStart"), |
| 145 |
DAP_FIELD(sortText, "sortText"), |
| 146 |
DAP_FIELD(start, "start"), |
| 147 |
DAP_FIELD(text, "text"), |
| 148 |
DAP_FIELD(type, "type")); |
| 149 |
|
| 150 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(DisassembledInstruction, |
| 151 |
"", |
| 152 |
DAP_FIELD(address, "address"), |
| 153 |
DAP_FIELD(column, "column"), |
| 154 |
DAP_FIELD(endColumn, "endColumn"), |
| 155 |
DAP_FIELD(endLine, "endLine"), |
| 156 |
DAP_FIELD(instruction, "instruction"), |
| 157 |
DAP_FIELD(instructionBytes, "instructionBytes"), |
| 158 |
DAP_FIELD(line, "line"), |
| 159 |
DAP_FIELD(location, "location"), |
| 160 |
DAP_FIELD(presentationHint, "presentationHint"), |
| 161 |
DAP_FIELD(symbol, "symbol")); |
| 162 |
|
| 163 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(Message, |
| 164 |
"", |
| 165 |
DAP_FIELD(format, "format"), |
| 166 |
DAP_FIELD(id, "id"), |
| 167 |
DAP_FIELD(sendTelemetry, "sendTelemetry"), |
| 168 |
DAP_FIELD(showUser, "showUser"), |
| 169 |
DAP_FIELD(url, "url"), |
| 170 |
DAP_FIELD(urlLabel, "urlLabel"), |
| 171 |
DAP_FIELD(variables, "variables")); |
| 172 |
|
| 173 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(VariablePresentationHint, |
| 174 |
"", |
| 175 |
DAP_FIELD(attributes, "attributes"), |
| 176 |
DAP_FIELD(kind, "kind"), |
| 177 |
DAP_FIELD(lazy, "lazy"), |
| 178 |
DAP_FIELD(visibility, "visibility")); |
| 179 |
|
| 180 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(ValueFormat, "", DAP_FIELD(hex, "hex")); |
| 181 |
|
| 182 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(ExceptionDetails, |
| 183 |
"", |
| 184 |
DAP_FIELD(evaluateName, "evaluateName"), |
| 185 |
DAP_FIELD(fullTypeName, "fullTypeName"), |
| 186 |
DAP_FIELD(innerException, "innerException"), |
| 187 |
DAP_FIELD(message, "message"), |
| 188 |
DAP_FIELD(stackTrace, "stackTrace"), |
| 189 |
DAP_FIELD(typeName, "typeName")); |
| 190 |
|
| 191 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(GotoTarget, |
| 192 |
"", |
| 193 |
DAP_FIELD(column, "column"), |
| 194 |
DAP_FIELD(endColumn, "endColumn"), |
| 195 |
DAP_FIELD(endLine, "endLine"), |
| 196 |
DAP_FIELD(id, "id"), |
| 197 |
DAP_FIELD(instructionPointerReference, |
| 198 |
"instructionPointerReference"), |
| 199 |
DAP_FIELD(label, "label"), |
| 200 |
DAP_FIELD(line, "line")); |
| 201 |
|
| 202 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(Module, |
| 203 |
"", |
| 204 |
DAP_FIELD(addressRange, "addressRange"), |
| 205 |
DAP_FIELD(dateTimeStamp, "dateTimeStamp"), |
| 206 |
DAP_FIELD(id, "id"), |
| 207 |
DAP_FIELD(isOptimized, "isOptimized"), |
| 208 |
DAP_FIELD(isUserCode, "isUserCode"), |
| 209 |
DAP_FIELD(name, "name"), |
| 210 |
DAP_FIELD(path, "path"), |
| 211 |
DAP_FIELD(symbolFilePath, "symbolFilePath"), |
| 212 |
DAP_FIELD(symbolStatus, "symbolStatus"), |
| 213 |
DAP_FIELD(version, "version")); |
| 214 |
|
| 215 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(Scope, |
| 216 |
"", |
| 217 |
DAP_FIELD(column, "column"), |
| 218 |
DAP_FIELD(endColumn, "endColumn"), |
| 219 |
DAP_FIELD(endLine, "endLine"), |
| 220 |
DAP_FIELD(expensive, "expensive"), |
| 221 |
DAP_FIELD(indexedVariables, "indexedVariables"), |
| 222 |
DAP_FIELD(line, "line"), |
| 223 |
DAP_FIELD(name, "name"), |
| 224 |
DAP_FIELD(namedVariables, "namedVariables"), |
| 225 |
DAP_FIELD(presentationHint, "presentationHint"), |
| 226 |
DAP_FIELD(source, "source"), |
| 227 |
DAP_FIELD(variablesReference, |
| 228 |
"variablesReference")); |
| 229 |
|
| 230 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(SourceBreakpoint, |
| 231 |
"", |
| 232 |
DAP_FIELD(column, "column"), |
| 233 |
DAP_FIELD(condition, "condition"), |
| 234 |
DAP_FIELD(hitCondition, "hitCondition"), |
| 235 |
DAP_FIELD(line, "line"), |
| 236 |
DAP_FIELD(logMessage, "logMessage"), |
| 237 |
DAP_FIELD(mode, "mode")); |
| 238 |
|
| 239 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(DataBreakpoint, |
| 240 |
"", |
| 241 |
DAP_FIELD(accessType, "accessType"), |
| 242 |
DAP_FIELD(condition, "condition"), |
| 243 |
DAP_FIELD(dataId, "dataId"), |
| 244 |
DAP_FIELD(hitCondition, "hitCondition")); |
| 245 |
|
| 246 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(ExceptionPathSegment, |
| 247 |
"", |
| 248 |
DAP_FIELD(names, "names"), |
| 249 |
DAP_FIELD(negate, "negate")); |
| 250 |
|
| 251 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(ExceptionOptions, |
| 252 |
"", |
| 253 |
DAP_FIELD(breakMode, "breakMode"), |
| 254 |
DAP_FIELD(path, "path")); |
| 255 |
|
| 256 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(ExceptionFilterOptions, |
| 257 |
"", |
| 258 |
DAP_FIELD(condition, "condition"), |
| 259 |
DAP_FIELD(filterId, "filterId"), |
| 260 |
DAP_FIELD(mode, "mode")); |
| 261 |
|
| 262 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(FunctionBreakpoint, |
| 263 |
"", |
| 264 |
DAP_FIELD(condition, "condition"), |
| 265 |
DAP_FIELD(hitCondition, "hitCondition"), |
| 266 |
DAP_FIELD(name, "name")); |
| 267 |
|
| 268 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(InstructionBreakpoint, |
| 269 |
"", |
| 270 |
DAP_FIELD(condition, "condition"), |
| 271 |
DAP_FIELD(hitCondition, "hitCondition"), |
| 272 |
DAP_FIELD(instructionReference, |
| 273 |
"instructionReference"), |
| 274 |
DAP_FIELD(mode, "mode"), |
| 275 |
DAP_FIELD(offset, "offset")); |
| 276 |
|
| 277 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(StackFrame, |
| 278 |
"", |
| 279 |
DAP_FIELD(canRestart, "canRestart"), |
| 280 |
DAP_FIELD(column, "column"), |
| 281 |
DAP_FIELD(endColumn, "endColumn"), |
| 282 |
DAP_FIELD(endLine, "endLine"), |
| 283 |
DAP_FIELD(id, "id"), |
| 284 |
DAP_FIELD(instructionPointerReference, |
| 285 |
"instructionPointerReference"), |
| 286 |
DAP_FIELD(line, "line"), |
| 287 |
DAP_FIELD(moduleId, "moduleId"), |
| 288 |
DAP_FIELD(name, "name"), |
| 289 |
DAP_FIELD(presentationHint, "presentationHint"), |
| 290 |
DAP_FIELD(source, "source")); |
| 291 |
|
| 292 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(StackFrameFormat, |
| 293 |
"", |
| 294 |
DAP_FIELD(includeAll, "includeAll"), |
| 295 |
DAP_FIELD(line, "line"), |
| 296 |
DAP_FIELD(module, "module"), |
| 297 |
DAP_FIELD(parameterNames, "parameterNames"), |
| 298 |
DAP_FIELD(parameterTypes, "parameterTypes"), |
| 299 |
DAP_FIELD(parameterValues, "parameterValues"), |
| 300 |
DAP_FIELD(parameters, "parameters")); |
| 301 |
|
| 302 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(StepInTarget, |
| 303 |
"", |
| 304 |
DAP_FIELD(column, "column"), |
| 305 |
DAP_FIELD(endColumn, "endColumn"), |
| 306 |
DAP_FIELD(endLine, "endLine"), |
| 307 |
DAP_FIELD(id, "id"), |
| 308 |
DAP_FIELD(label, "label"), |
| 309 |
DAP_FIELD(line, "line")); |
| 310 |
|
| 311 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(Thread, |
| 312 |
"", |
| 313 |
DAP_FIELD(id, "id"), |
| 314 |
DAP_FIELD(name, "name")); |
| 315 |
|
| 316 |
DAP_IMPLEMENT_STRUCT_TYPEINFO(Variable, |
| 317 |
"", |
| 318 |
DAP_FIELD(evaluateName, "evaluateName"), |
| 319 |
DAP_FIELD(indexedVariables, "indexedVariables"), |
| 320 |
DAP_FIELD(memoryReference, "memoryReference"), |
| 321 |
DAP_FIELD(name, "name"), |
| 322 |
DAP_FIELD(namedVariables, "namedVariables"), |
| 323 |
DAP_FIELD(presentationHint, "presentationHint"), |
| 324 |
DAP_FIELD(type, "type"), |
| 325 |
DAP_FIELD(value, "value"), |
| 326 |
DAP_FIELD(variablesReference, |
| 327 |
"variablesReference")); |
| 328 |
|
| 329 |
} // namespace dap |