Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cppdap
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
cppdap
Commits
4bc690cb
Commit
4bc690cb
authored
Apr 27, 2020
by
Ben Clayton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update DAP protocol to Version 1.40
Updated with: `go run scripts/protocol_gen/protocol_gen.go`
parent
4dcca577
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
0 deletions
+33
-0
protocol.h
include/dap/protocol.h
+0
-0
protocol_events.cpp
src/protocol_events.cpp
+27
-0
protocol_requests.cpp
src/protocol_requests.cpp
+2
-0
protocol_response.cpp
src/protocol_response.cpp
+1
-0
protocol_types.cpp
src/protocol_types.cpp
+3
-0
No files found.
include/dap/protocol.h
View file @
4bc690cb
This diff is collapsed.
Click to expand it.
src/protocol_events.cpp
View file @
4bc690cb
...
@@ -71,6 +71,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(OutputEvent,
...
@@ -71,6 +71,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(OutputEvent,
DAP_FIELD
(
category
,
"category"
),
DAP_FIELD
(
category
,
"category"
),
DAP_FIELD
(
column
,
"column"
),
DAP_FIELD
(
column
,
"column"
),
DAP_FIELD
(
data
,
"data"
),
DAP_FIELD
(
data
,
"data"
),
DAP_FIELD
(
group
,
"group"
),
DAP_FIELD
(
line
,
"line"
),
DAP_FIELD
(
line
,
"line"
),
DAP_FIELD
(
output
,
"output"
),
DAP_FIELD
(
output
,
"output"
),
DAP_FIELD
(
source
,
"source"
),
DAP_FIELD
(
source
,
"source"
),
...
@@ -87,6 +88,32 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(ProcessEvent,
...
@@ -87,6 +88,32 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(ProcessEvent,
DAP_FIELD
(
startMethod
,
"startMethod"
),
DAP_FIELD
(
startMethod
,
"startMethod"
),
DAP_FIELD
(
systemProcessId
,
"systemProcessId"
));
DAP_FIELD
(
systemProcessId
,
"systemProcessId"
));
ProgressEndEvent
::
ProgressEndEvent
()
=
default
;
ProgressEndEvent
::~
ProgressEndEvent
()
=
default
;
DAP_IMPLEMENT_STRUCT_TYPEINFO
(
ProgressEndEvent
,
"progressEnd"
,
DAP_FIELD
(
message
,
"message"
),
DAP_FIELD
(
progressId
,
"progressId"
));
ProgressStartEvent
::
ProgressStartEvent
()
=
default
;
ProgressStartEvent
::~
ProgressStartEvent
()
=
default
;
DAP_IMPLEMENT_STRUCT_TYPEINFO
(
ProgressStartEvent
,
"progressStart"
,
DAP_FIELD
(
cancellable
,
"cancellable"
),
DAP_FIELD
(
message
,
"message"
),
DAP_FIELD
(
percentage
,
"percentage"
),
DAP_FIELD
(
progressId
,
"progressId"
),
DAP_FIELD
(
requestId
,
"requestId"
),
DAP_FIELD
(
title
,
"title"
));
ProgressUpdateEvent
::
ProgressUpdateEvent
()
=
default
;
ProgressUpdateEvent
::~
ProgressUpdateEvent
()
=
default
;
DAP_IMPLEMENT_STRUCT_TYPEINFO
(
ProgressUpdateEvent
,
"progressUpdate"
,
DAP_FIELD
(
message
,
"message"
),
DAP_FIELD
(
percentage
,
"percentage"
),
DAP_FIELD
(
progressId
,
"progressId"
));
StoppedEvent
::
StoppedEvent
()
=
default
;
StoppedEvent
::
StoppedEvent
()
=
default
;
StoppedEvent
::~
StoppedEvent
()
=
default
;
StoppedEvent
::~
StoppedEvent
()
=
default
;
DAP_IMPLEMENT_STRUCT_TYPEINFO
(
StoppedEvent
,
DAP_IMPLEMENT_STRUCT_TYPEINFO
(
StoppedEvent
,
...
...
src/protocol_requests.cpp
View file @
4bc690cb
...
@@ -39,6 +39,7 @@ CancelRequest::CancelRequest() = default;
...
@@ -39,6 +39,7 @@ CancelRequest::CancelRequest() = default;
CancelRequest
::~
CancelRequest
()
=
default
;
CancelRequest
::~
CancelRequest
()
=
default
;
DAP_IMPLEMENT_STRUCT_TYPEINFO
(
CancelRequest
,
DAP_IMPLEMENT_STRUCT_TYPEINFO
(
CancelRequest
,
"cancel"
,
"cancel"
,
DAP_FIELD
(
progressId
,
"progressId"
),
DAP_FIELD
(
requestId
,
"requestId"
));
DAP_FIELD
(
requestId
,
"requestId"
));
CompletionsRequest
::
CompletionsRequest
()
=
default
;
CompletionsRequest
::
CompletionsRequest
()
=
default
;
...
@@ -129,6 +130,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(
...
@@ -129,6 +130,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(
DAP_FIELD
(
locale
,
"locale"
),
DAP_FIELD
(
locale
,
"locale"
),
DAP_FIELD
(
pathFormat
,
"pathFormat"
),
DAP_FIELD
(
pathFormat
,
"pathFormat"
),
DAP_FIELD
(
supportsMemoryReferences
,
"supportsMemoryReferences"
),
DAP_FIELD
(
supportsMemoryReferences
,
"supportsMemoryReferences"
),
DAP_FIELD
(
supportsProgressReporting
,
"supportsProgressReporting"
),
DAP_FIELD
(
supportsRunInTerminalRequest
,
"supportsRunInTerminalRequest"
),
DAP_FIELD
(
supportsRunInTerminalRequest
,
"supportsRunInTerminalRequest"
),
DAP_FIELD
(
supportsVariablePaging
,
"supportsVariablePaging"
),
DAP_FIELD
(
supportsVariablePaging
,
"supportsVariablePaging"
),
DAP_FIELD
(
supportsVariableType
,
"supportsVariableType"
));
DAP_FIELD
(
supportsVariableType
,
"supportsVariableType"
));
...
...
src/protocol_response.cpp
View file @
4bc690cb
...
@@ -118,6 +118,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(
...
@@ -118,6 +118,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(
DAP_FIELD
(
supportsBreakpointLocationsRequest
,
DAP_FIELD
(
supportsBreakpointLocationsRequest
,
"supportsBreakpointLocationsRequest"
),
"supportsBreakpointLocationsRequest"
),
DAP_FIELD
(
supportsCancelRequest
,
"supportsCancelRequest"
),
DAP_FIELD
(
supportsCancelRequest
,
"supportsCancelRequest"
),
DAP_FIELD
(
supportsClipboardContext
,
"supportsClipboardContext"
),
DAP_FIELD
(
supportsCompletionsRequest
,
"supportsCompletionsRequest"
),
DAP_FIELD
(
supportsCompletionsRequest
,
"supportsCompletionsRequest"
),
DAP_FIELD
(
supportsConditionalBreakpoints
,
"supportsConditionalBreakpoints"
),
DAP_FIELD
(
supportsConditionalBreakpoints
,
"supportsConditionalBreakpoints"
),
DAP_FIELD
(
supportsConfigurationDoneRequest
,
DAP_FIELD
(
supportsConfigurationDoneRequest
,
...
...
src/protocol_types.cpp
View file @
4bc690cb
...
@@ -96,6 +96,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(
...
@@ -96,6 +96,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(
DAP_FIELD
(
supportsBreakpointLocationsRequest
,
DAP_FIELD
(
supportsBreakpointLocationsRequest
,
"supportsBreakpointLocationsRequest"
),
"supportsBreakpointLocationsRequest"
),
DAP_FIELD
(
supportsCancelRequest
,
"supportsCancelRequest"
),
DAP_FIELD
(
supportsCancelRequest
,
"supportsCancelRequest"
),
DAP_FIELD
(
supportsClipboardContext
,
"supportsClipboardContext"
),
DAP_FIELD
(
supportsCompletionsRequest
,
"supportsCompletionsRequest"
),
DAP_FIELD
(
supportsCompletionsRequest
,
"supportsCompletionsRequest"
),
DAP_FIELD
(
supportsConditionalBreakpoints
,
"supportsConditionalBreakpoints"
),
DAP_FIELD
(
supportsConditionalBreakpoints
,
"supportsConditionalBreakpoints"
),
DAP_FIELD
(
supportsConfigurationDoneRequest
,
DAP_FIELD
(
supportsConfigurationDoneRequest
,
...
@@ -137,6 +138,8 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(CompletionItem,
...
@@ -137,6 +138,8 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(CompletionItem,
""
,
""
,
DAP_FIELD
(
label
,
"label"
),
DAP_FIELD
(
label
,
"label"
),
DAP_FIELD
(
length
,
"length"
),
DAP_FIELD
(
length
,
"length"
),
DAP_FIELD
(
selectionLength
,
"selectionLength"
),
DAP_FIELD
(
selectionStart
,
"selectionStart"
),
DAP_FIELD
(
sortText
,
"sortText"
),
DAP_FIELD
(
sortText
,
"sortText"
),
DAP_FIELD
(
start
,
"start"
),
DAP_FIELD
(
start
,
"start"
),
DAP_FIELD
(
text
,
"text"
),
DAP_FIELD
(
text
,
"text"
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment