Skip to content

Commit 6e60ed3

Browse files
committed
Update to 1.68.0
1 parent 6bc38d6 commit 6e60ed3

File tree

8 files changed

+211
-30
lines changed

8 files changed

+211
-30
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
cmake_minimum_required(VERSION 3.22)
1616

17-
project(cppdap VERSION 1.65.0 LANGUAGES CXX C)
17+
project(cppdap VERSION 1.68.0 LANGUAGES CXX C)
1818

1919
set (CMAKE_CXX_STANDARD 11)
2020

fuzz/dictionary.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"args"
2121
"argsCanBeInterpretedByShell"
2222
"arguments"
23+
"asAddress"
2324
"attach"
2425
"attachForSuspendedLaunch"
2526
"attributeName"
@@ -32,6 +33,7 @@
3233
"breakpointLocations"
3334
"breakpointModes"
3435
"breakpoints"
36+
"bytes"
3537
"bytesWritten"
3638
"canPersist"
3739
"canRestart"
@@ -72,6 +74,7 @@
7274
"dataBreakpointInfo"
7375
"dataId"
7476
"dateTimeStamp"
77+
"declarationLocationReference"
7578
"deemphasize"
7679
"default"
7780
"description"
@@ -161,6 +164,8 @@
161164
"locale"
162165
"locals"
163166
"location"
167+
"locationReference"
168+
"locations"
164169
"logMessage"
165170
"memory"
166171
"memoryReference"
@@ -226,6 +231,7 @@
226231
"restart"
227232
"restartFrame"
228233
"result"
234+
"returnValue"
229235
"reverseContinue"
230236
"runInTerminal"
231237
"scopes"
@@ -275,6 +281,7 @@
275281
"supportSuspendDebuggee"
276282
"supportTerminateDebuggee"
277283
"supportedChecksumAlgorithms"
284+
"supportsANSIStyling"
278285
"supportsArgsCanBeInterpretedByShell"
279286
"supportsBreakpointLocationsRequest"
280287
"supportsCancelRequest"
@@ -283,6 +290,7 @@
283290
"supportsCondition"
284291
"supportsConditionalBreakpoints"
285292
"supportsConfigurationDoneRequest"
293+
"supportsDataBreakpointBytes"
286294
"supportsDataBreakpoints"
287295
"supportsDelayedStackTraceLoading"
288296
"supportsDisassembleRequest"
@@ -350,6 +358,7 @@
350358
"urlLabel"
351359
"userUnhandled"
352360
"value"
361+
"valueLocationReference"
353362
"variable"
354363
"variables"
355364
"variablesReference"

fuzz/fuzz.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// Generated with protocol_gen.go -- do not edit this file.
1616
// go run scripts/protocol_gen/protocol_gen.go
1717
//
18-
// DAP version 1.65.0
18+
// DAP version 1.68.0
1919

2020
#ifndef dap_fuzzer_h
2121
#define dap_fuzzer_h
@@ -40,6 +40,7 @@
4040
DAP_REQUEST(dap::InitializeRequest, dap::InitializeResponse) \
4141
DAP_REQUEST(dap::LaunchRequest, dap::LaunchResponse) \
4242
DAP_REQUEST(dap::LoadedSourcesRequest, dap::LoadedSourcesResponse) \
43+
DAP_REQUEST(dap::LocationsRequest, dap::LocationsResponse) \
4344
DAP_REQUEST(dap::ModulesRequest, dap::ModulesResponse) \
4445
DAP_REQUEST(dap::NextRequest, dap::NextResponse) \
4546
DAP_REQUEST(dap::PauseRequest, dap::PauseResponse) \

include/dap/protocol.h

Lines changed: 150 additions & 11 deletions
Large diffs are not rendered by default.

src/protocol_events.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// Generated with protocol_gen.go -- do not edit this file.
1616
// go run scripts/protocol_gen/protocol_gen.go
1717
//
18-
// DAP version 1.65.0
18+
// DAP version 1.68.0
1919

2020
#include "dap/protocol.h"
2121

@@ -71,6 +71,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(OutputEvent,
7171
DAP_FIELD(data, "data"),
7272
DAP_FIELD(group, "group"),
7373
DAP_FIELD(line, "line"),
74+
DAP_FIELD(locationReference, "locationReference"),
7475
DAP_FIELD(output, "output"),
7576
DAP_FIELD(source, "source"),
7677
DAP_FIELD(variablesReference,

src/protocol_requests.cpp

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// Generated with protocol_gen.go -- do not edit this file.
1616
// go run scripts/protocol_gen/protocol_gen.go
1717
//
18-
// DAP version 1.65.0
18+
// DAP version 1.68.0
1919

2020
#include "dap/protocol.h"
2121

@@ -54,6 +54,8 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(ContinueRequest,
5454

5555
DAP_IMPLEMENT_STRUCT_TYPEINFO(DataBreakpointInfoRequest,
5656
"dataBreakpointInfo",
57+
DAP_FIELD(asAddress, "asAddress"),
58+
DAP_FIELD(bytes, "bytes"),
5759
DAP_FIELD(frameId, "frameId"),
5860
DAP_FIELD(mode, "mode"),
5961
DAP_FIELD(name, "name"),
@@ -77,10 +79,13 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(DisconnectRequest,
7779

7880
DAP_IMPLEMENT_STRUCT_TYPEINFO(EvaluateRequest,
7981
"evaluate",
82+
DAP_FIELD(column, "column"),
8083
DAP_FIELD(context, "context"),
8184
DAP_FIELD(expression, "expression"),
8285
DAP_FIELD(format, "format"),
83-
DAP_FIELD(frameId, "frameId"));
86+
DAP_FIELD(frameId, "frameId"),
87+
DAP_FIELD(line, "line"),
88+
DAP_FIELD(source, "source"));
8489

8590
DAP_IMPLEMENT_STRUCT_TYPEINFO(ExceptionInfoRequest,
8691
"exceptionInfo",
@@ -107,6 +112,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(
107112
DAP_FIELD(linesStartAt1, "linesStartAt1"),
108113
DAP_FIELD(locale, "locale"),
109114
DAP_FIELD(pathFormat, "pathFormat"),
115+
DAP_FIELD(supportsANSIStyling, "supportsANSIStyling"),
110116
DAP_FIELD(supportsArgsCanBeInterpretedByShell,
111117
"supportsArgsCanBeInterpretedByShell"),
112118
DAP_FIELD(supportsInvalidatedEvent, "supportsInvalidatedEvent"),
@@ -125,6 +131,11 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(LaunchRequest,
125131

126132
DAP_IMPLEMENT_STRUCT_TYPEINFO(LoadedSourcesRequest, "loadedSources");
127133

134+
DAP_IMPLEMENT_STRUCT_TYPEINFO(LocationsRequest,
135+
"locations",
136+
DAP_FIELD(locationReference,
137+
"locationReference"));
138+
128139
DAP_IMPLEMENT_STRUCT_TYPEINFO(ModulesRequest,
129140
"modules",
130141
DAP_FIELD(moduleCount, "moduleCount"),

src/protocol_response.cpp

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// Generated with protocol_gen.go -- do not edit this file.
1616
// go run scripts/protocol_gen/protocol_gen.go
1717
//
18-
// DAP version 1.65.0
18+
// DAP version 1.68.0
1919

2020
#include "dap/protocol.h"
2121

@@ -63,6 +63,8 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(EvaluateResponse,
6363
DAP_FIELD(presentationHint, "presentationHint"),
6464
DAP_FIELD(result, "result"),
6565
DAP_FIELD(type, "type"),
66+
DAP_FIELD(valueLocationReference,
67+
"valueLocationReference"),
6668
DAP_FIELD(variablesReference,
6769
"variablesReference"));
6870

@@ -89,6 +91,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(
8991
DAP_FIELD(supportSuspendDebuggee, "supportSuspendDebuggee"),
9092
DAP_FIELD(supportTerminateDebuggee, "supportTerminateDebuggee"),
9193
DAP_FIELD(supportedChecksumAlgorithms, "supportedChecksumAlgorithms"),
94+
DAP_FIELD(supportsANSIStyling, "supportsANSIStyling"),
9295
DAP_FIELD(supportsBreakpointLocationsRequest,
9396
"supportsBreakpointLocationsRequest"),
9497
DAP_FIELD(supportsCancelRequest, "supportsCancelRequest"),
@@ -97,6 +100,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(
97100
DAP_FIELD(supportsConditionalBreakpoints, "supportsConditionalBreakpoints"),
98101
DAP_FIELD(supportsConfigurationDoneRequest,
99102
"supportsConfigurationDoneRequest"),
103+
DAP_FIELD(supportsDataBreakpointBytes, "supportsDataBreakpointBytes"),
100104
DAP_FIELD(supportsDataBreakpoints, "supportsDataBreakpoints"),
101105
DAP_FIELD(supportsDelayedStackTraceLoading,
102106
"supportsDelayedStackTraceLoading"),
@@ -135,6 +139,14 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(LoadedSourcesResponse,
135139
"",
136140
DAP_FIELD(sources, "sources"));
137141

142+
DAP_IMPLEMENT_STRUCT_TYPEINFO(LocationsResponse,
143+
"",
144+
DAP_FIELD(column, "column"),
145+
DAP_FIELD(endColumn, "endColumn"),
146+
DAP_FIELD(endLine, "endLine"),
147+
DAP_FIELD(line, "line"),
148+
DAP_FIELD(source, "source"));
149+
138150
DAP_IMPLEMENT_STRUCT_TYPEINFO(ModulesResponse,
139151
"",
140152
DAP_FIELD(modules, "modules"),
@@ -183,6 +195,8 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(SetExpressionResponse,
183195
DAP_FIELD(presentationHint, "presentationHint"),
184196
DAP_FIELD(type, "type"),
185197
DAP_FIELD(value, "value"),
198+
DAP_FIELD(valueLocationReference,
199+
"valueLocationReference"),
186200
DAP_FIELD(variablesReference,
187201
"variablesReference"));
188202

@@ -201,6 +215,8 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(SetVariableResponse,
201215
DAP_FIELD(namedVariables, "namedVariables"),
202216
DAP_FIELD(type, "type"),
203217
DAP_FIELD(value, "value"),
218+
DAP_FIELD(valueLocationReference,
219+
"valueLocationReference"),
204220
DAP_FIELD(variablesReference,
205221
"variablesReference"));
206222

src/protocol_types.cpp

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// Generated with protocol_gen.go -- do not edit this file.
1616
// go run scripts/protocol_gen/protocol_gen.go
1717
//
18-
// DAP version 1.65.0
18+
// DAP version 1.68.0
1919

2020
#include "dap/protocol.h"
2121

@@ -95,6 +95,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(
9595
DAP_FIELD(supportSuspendDebuggee, "supportSuspendDebuggee"),
9696
DAP_FIELD(supportTerminateDebuggee, "supportTerminateDebuggee"),
9797
DAP_FIELD(supportedChecksumAlgorithms, "supportedChecksumAlgorithms"),
98+
DAP_FIELD(supportsANSIStyling, "supportsANSIStyling"),
9899
DAP_FIELD(supportsBreakpointLocationsRequest,
99100
"supportsBreakpointLocationsRequest"),
100101
DAP_FIELD(supportsCancelRequest, "supportsCancelRequest"),
@@ -103,6 +104,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(
103104
DAP_FIELD(supportsConditionalBreakpoints, "supportsConditionalBreakpoints"),
104105
DAP_FIELD(supportsConfigurationDoneRequest,
105106
"supportsConfigurationDoneRequest"),
107+
DAP_FIELD(supportsDataBreakpointBytes, "supportsDataBreakpointBytes"),
106108
DAP_FIELD(supportsDataBreakpoints, "supportsDataBreakpoints"),
107109
DAP_FIELD(supportsDelayedStackTraceLoading,
108110
"supportsDelayedStackTraceLoading"),
@@ -313,17 +315,19 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(Thread,
313315
DAP_FIELD(id, "id"),
314316
DAP_FIELD(name, "name"));
315317

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"));
318+
DAP_IMPLEMENT_STRUCT_TYPEINFO(
319+
Variable,
320+
"",
321+
DAP_FIELD(declarationLocationReference, "declarationLocationReference"),
322+
DAP_FIELD(evaluateName, "evaluateName"),
323+
DAP_FIELD(indexedVariables, "indexedVariables"),
324+
DAP_FIELD(memoryReference, "memoryReference"),
325+
DAP_FIELD(name, "name"),
326+
DAP_FIELD(namedVariables, "namedVariables"),
327+
DAP_FIELD(presentationHint, "presentationHint"),
328+
DAP_FIELD(type, "type"),
329+
DAP_FIELD(value, "value"),
330+
DAP_FIELD(valueLocationReference, "valueLocationReference"),
331+
DAP_FIELD(variablesReference, "variablesReference"));
328332

329333
} // namespace dap

0 commit comments

Comments
 (0)