Update DAP protocol to Version 1.40
Updated with: `go run scripts/protocol_gen/protocol_gen.go`
This commit is contained in:
@@ -71,6 +71,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(OutputEvent,
|
||||
DAP_FIELD(category, "category"),
|
||||
DAP_FIELD(column, "column"),
|
||||
DAP_FIELD(data, "data"),
|
||||
DAP_FIELD(group, "group"),
|
||||
DAP_FIELD(line, "line"),
|
||||
DAP_FIELD(output, "output"),
|
||||
DAP_FIELD(source, "source"),
|
||||
@@ -87,6 +88,32 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(ProcessEvent,
|
||||
DAP_FIELD(startMethod, "startMethod"),
|
||||
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;
|
||||
DAP_IMPLEMENT_STRUCT_TYPEINFO(StoppedEvent,
|
||||
|
||||
@@ -39,6 +39,7 @@ CancelRequest::CancelRequest() = default;
|
||||
CancelRequest::~CancelRequest() = default;
|
||||
DAP_IMPLEMENT_STRUCT_TYPEINFO(CancelRequest,
|
||||
"cancel",
|
||||
DAP_FIELD(progressId, "progressId"),
|
||||
DAP_FIELD(requestId, "requestId"));
|
||||
|
||||
CompletionsRequest::CompletionsRequest() = default;
|
||||
@@ -129,6 +130,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(
|
||||
DAP_FIELD(locale, "locale"),
|
||||
DAP_FIELD(pathFormat, "pathFormat"),
|
||||
DAP_FIELD(supportsMemoryReferences, "supportsMemoryReferences"),
|
||||
DAP_FIELD(supportsProgressReporting, "supportsProgressReporting"),
|
||||
DAP_FIELD(supportsRunInTerminalRequest, "supportsRunInTerminalRequest"),
|
||||
DAP_FIELD(supportsVariablePaging, "supportsVariablePaging"),
|
||||
DAP_FIELD(supportsVariableType, "supportsVariableType"));
|
||||
|
||||
@@ -118,6 +118,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(
|
||||
DAP_FIELD(supportsBreakpointLocationsRequest,
|
||||
"supportsBreakpointLocationsRequest"),
|
||||
DAP_FIELD(supportsCancelRequest, "supportsCancelRequest"),
|
||||
DAP_FIELD(supportsClipboardContext, "supportsClipboardContext"),
|
||||
DAP_FIELD(supportsCompletionsRequest, "supportsCompletionsRequest"),
|
||||
DAP_FIELD(supportsConditionalBreakpoints, "supportsConditionalBreakpoints"),
|
||||
DAP_FIELD(supportsConfigurationDoneRequest,
|
||||
|
||||
@@ -96,6 +96,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(
|
||||
DAP_FIELD(supportsBreakpointLocationsRequest,
|
||||
"supportsBreakpointLocationsRequest"),
|
||||
DAP_FIELD(supportsCancelRequest, "supportsCancelRequest"),
|
||||
DAP_FIELD(supportsClipboardContext, "supportsClipboardContext"),
|
||||
DAP_FIELD(supportsCompletionsRequest, "supportsCompletionsRequest"),
|
||||
DAP_FIELD(supportsConditionalBreakpoints, "supportsConditionalBreakpoints"),
|
||||
DAP_FIELD(supportsConfigurationDoneRequest,
|
||||
@@ -137,6 +138,8 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(CompletionItem,
|
||||
"",
|
||||
DAP_FIELD(label, "label"),
|
||||
DAP_FIELD(length, "length"),
|
||||
DAP_FIELD(selectionLength, "selectionLength"),
|
||||
DAP_FIELD(selectionStart, "selectionStart"),
|
||||
DAP_FIELD(sortText, "sortText"),
|
||||
DAP_FIELD(start, "start"),
|
||||
DAP_FIELD(text, "text"),
|
||||
|
||||
Reference in New Issue
Block a user