protocol_events.cpp 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. // Generated with protocol_gen.go -- do not edit this file.
  15. // go run scripts/protocol_gen/protocol_gen.go
  16. //
  17. // DAP version 1.65.0
  18. #include "dap/protocol.h"
  19. namespace dap {
  20. DAP_IMPLEMENT_STRUCT_TYPEINFO(BreakpointEvent,
  21. "breakpoint",
  22. DAP_FIELD(breakpoint, "breakpoint"),
  23. DAP_FIELD(reason, "reason"));
  24. DAP_IMPLEMENT_STRUCT_TYPEINFO(CapabilitiesEvent,
  25. "capabilities",
  26. DAP_FIELD(capabilities, "capabilities"));
  27. DAP_IMPLEMENT_STRUCT_TYPEINFO(ContinuedEvent,
  28. "continued",
  29. DAP_FIELD(allThreadsContinued,
  30. "allThreadsContinued"),
  31. DAP_FIELD(threadId, "threadId"));
  32. DAP_IMPLEMENT_STRUCT_TYPEINFO(ExitedEvent,
  33. "exited",
  34. DAP_FIELD(exitCode, "exitCode"));
  35. DAP_IMPLEMENT_STRUCT_TYPEINFO(InitializedEvent, "initialized");
  36. DAP_IMPLEMENT_STRUCT_TYPEINFO(InvalidatedEvent,
  37. "invalidated",
  38. DAP_FIELD(areas, "areas"),
  39. DAP_FIELD(stackFrameId, "stackFrameId"),
  40. DAP_FIELD(threadId, "threadId"));
  41. DAP_IMPLEMENT_STRUCT_TYPEINFO(LoadedSourceEvent,
  42. "loadedSource",
  43. DAP_FIELD(reason, "reason"),
  44. DAP_FIELD(source, "source"));
  45. DAP_IMPLEMENT_STRUCT_TYPEINFO(MemoryEvent,
  46. "memory",
  47. DAP_FIELD(count, "count"),
  48. DAP_FIELD(memoryReference, "memoryReference"),
  49. DAP_FIELD(offset, "offset"));
  50. DAP_IMPLEMENT_STRUCT_TYPEINFO(ModuleEvent,
  51. "module",
  52. DAP_FIELD(module, "module"),
  53. DAP_FIELD(reason, "reason"));
  54. DAP_IMPLEMENT_STRUCT_TYPEINFO(OutputEvent,
  55. "output",
  56. DAP_FIELD(category, "category"),
  57. DAP_FIELD(column, "column"),
  58. DAP_FIELD(data, "data"),
  59. DAP_FIELD(group, "group"),
  60. DAP_FIELD(line, "line"),
  61. DAP_FIELD(output, "output"),
  62. DAP_FIELD(source, "source"),
  63. DAP_FIELD(variablesReference,
  64. "variablesReference"));
  65. DAP_IMPLEMENT_STRUCT_TYPEINFO(ProcessEvent,
  66. "process",
  67. DAP_FIELD(isLocalProcess, "isLocalProcess"),
  68. DAP_FIELD(name, "name"),
  69. DAP_FIELD(pointerSize, "pointerSize"),
  70. DAP_FIELD(startMethod, "startMethod"),
  71. DAP_FIELD(systemProcessId, "systemProcessId"));
  72. DAP_IMPLEMENT_STRUCT_TYPEINFO(ProgressEndEvent,
  73. "progressEnd",
  74. DAP_FIELD(message, "message"),
  75. DAP_FIELD(progressId, "progressId"));
  76. DAP_IMPLEMENT_STRUCT_TYPEINFO(ProgressStartEvent,
  77. "progressStart",
  78. DAP_FIELD(cancellable, "cancellable"),
  79. DAP_FIELD(message, "message"),
  80. DAP_FIELD(percentage, "percentage"),
  81. DAP_FIELD(progressId, "progressId"),
  82. DAP_FIELD(requestId, "requestId"),
  83. DAP_FIELD(title, "title"));
  84. DAP_IMPLEMENT_STRUCT_TYPEINFO(ProgressUpdateEvent,
  85. "progressUpdate",
  86. DAP_FIELD(message, "message"),
  87. DAP_FIELD(percentage, "percentage"),
  88. DAP_FIELD(progressId, "progressId"));
  89. DAP_IMPLEMENT_STRUCT_TYPEINFO(StoppedEvent,
  90. "stopped",
  91. DAP_FIELD(allThreadsStopped, "allThreadsStopped"),
  92. DAP_FIELD(description, "description"),
  93. DAP_FIELD(hitBreakpointIds, "hitBreakpointIds"),
  94. DAP_FIELD(preserveFocusHint, "preserveFocusHint"),
  95. DAP_FIELD(reason, "reason"),
  96. DAP_FIELD(text, "text"),
  97. DAP_FIELD(threadId, "threadId"));
  98. DAP_IMPLEMENT_STRUCT_TYPEINFO(TerminatedEvent,
  99. "terminated",
  100. DAP_FIELD(restart, "restart"));
  101. DAP_IMPLEMENT_STRUCT_TYPEINFO(ThreadEvent,
  102. "thread",
  103. DAP_FIELD(reason, "reason"),
  104. DAP_FIELD(threadId, "threadId"));
  105. } // namespace dap