Path: blob/master/Utilities/cmcppdap/src/protocol_events.cpp
3153 views
// Copyright 2019 Google LLC1//2// Licensed under the Apache License, Version 2.0 (the "License");3// you may not use this file except in compliance with the License.4// You may obtain a copy of the License at5//6// https://www.apache.org/licenses/LICENSE-2.07//8// Unless required by applicable law or agreed to in writing, software9// distributed under the License is distributed on an "AS IS" BASIS,10// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.11// See the License for the specific language governing permissions and12// limitations under the License.1314// Generated with protocol_gen.go -- do not edit this file.15// go run scripts/protocol_gen/protocol_gen.go16//17// DAP version 1.65.01819#include "dap/protocol.h"2021namespace dap {2223DAP_IMPLEMENT_STRUCT_TYPEINFO(BreakpointEvent,24"breakpoint",25DAP_FIELD(breakpoint, "breakpoint"),26DAP_FIELD(reason, "reason"));2728DAP_IMPLEMENT_STRUCT_TYPEINFO(CapabilitiesEvent,29"capabilities",30DAP_FIELD(capabilities, "capabilities"));3132DAP_IMPLEMENT_STRUCT_TYPEINFO(ContinuedEvent,33"continued",34DAP_FIELD(allThreadsContinued,35"allThreadsContinued"),36DAP_FIELD(threadId, "threadId"));3738DAP_IMPLEMENT_STRUCT_TYPEINFO(ExitedEvent,39"exited",40DAP_FIELD(exitCode, "exitCode"));4142DAP_IMPLEMENT_STRUCT_TYPEINFO(InitializedEvent, "initialized");4344DAP_IMPLEMENT_STRUCT_TYPEINFO(InvalidatedEvent,45"invalidated",46DAP_FIELD(areas, "areas"),47DAP_FIELD(stackFrameId, "stackFrameId"),48DAP_FIELD(threadId, "threadId"));4950DAP_IMPLEMENT_STRUCT_TYPEINFO(LoadedSourceEvent,51"loadedSource",52DAP_FIELD(reason, "reason"),53DAP_FIELD(source, "source"));5455DAP_IMPLEMENT_STRUCT_TYPEINFO(MemoryEvent,56"memory",57DAP_FIELD(count, "count"),58DAP_FIELD(memoryReference, "memoryReference"),59DAP_FIELD(offset, "offset"));6061DAP_IMPLEMENT_STRUCT_TYPEINFO(ModuleEvent,62"module",63DAP_FIELD(module, "module"),64DAP_FIELD(reason, "reason"));6566DAP_IMPLEMENT_STRUCT_TYPEINFO(OutputEvent,67"output",68DAP_FIELD(category, "category"),69DAP_FIELD(column, "column"),70DAP_FIELD(data, "data"),71DAP_FIELD(group, "group"),72DAP_FIELD(line, "line"),73DAP_FIELD(output, "output"),74DAP_FIELD(source, "source"),75DAP_FIELD(variablesReference,76"variablesReference"));7778DAP_IMPLEMENT_STRUCT_TYPEINFO(ProcessEvent,79"process",80DAP_FIELD(isLocalProcess, "isLocalProcess"),81DAP_FIELD(name, "name"),82DAP_FIELD(pointerSize, "pointerSize"),83DAP_FIELD(startMethod, "startMethod"),84DAP_FIELD(systemProcessId, "systemProcessId"));8586DAP_IMPLEMENT_STRUCT_TYPEINFO(ProgressEndEvent,87"progressEnd",88DAP_FIELD(message, "message"),89DAP_FIELD(progressId, "progressId"));9091DAP_IMPLEMENT_STRUCT_TYPEINFO(ProgressStartEvent,92"progressStart",93DAP_FIELD(cancellable, "cancellable"),94DAP_FIELD(message, "message"),95DAP_FIELD(percentage, "percentage"),96DAP_FIELD(progressId, "progressId"),97DAP_FIELD(requestId, "requestId"),98DAP_FIELD(title, "title"));99100DAP_IMPLEMENT_STRUCT_TYPEINFO(ProgressUpdateEvent,101"progressUpdate",102DAP_FIELD(message, "message"),103DAP_FIELD(percentage, "percentage"),104DAP_FIELD(progressId, "progressId"));105106DAP_IMPLEMENT_STRUCT_TYPEINFO(StoppedEvent,107"stopped",108DAP_FIELD(allThreadsStopped, "allThreadsStopped"),109DAP_FIELD(description, "description"),110DAP_FIELD(hitBreakpointIds, "hitBreakpointIds"),111DAP_FIELD(preserveFocusHint, "preserveFocusHint"),112DAP_FIELD(reason, "reason"),113DAP_FIELD(text, "text"),114DAP_FIELD(threadId, "threadId"));115116DAP_IMPLEMENT_STRUCT_TYPEINFO(TerminatedEvent,117"terminated",118DAP_FIELD(restart, "restart"));119120DAP_IMPLEMENT_STRUCT_TYPEINFO(ThreadEvent,121"thread",122DAP_FIELD(reason, "reason"),123DAP_FIELD(threadId, "threadId"));124125} // namespace dap126127128