[Lldb-commits] [lldb] [lldb-dap] Updating RequestHandler to encode/decode arguments and response. (PR #130090)

Adrian Vogelsgesang via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 14 06:29:51 PDT 2025


================
@@ -248,6 +246,7 @@ struct DAP {
   // Serialize the JSON value into a string and send the JSON packet to
   // the "out" stream.
   void SendJSON(const llvm::json::Value &json);
+  void Send(const protocol::Message &message);
----------------
vogelsgesang wrote:

```suggestion
  /// Serialize the JSON value into a string and send the JSON packet to
  /// the "out" stream.
  void SendJSON(const llvm::json::Value &json);
  /// Send the given message to the client
  void Send(const protocol::Message &message);
```

https://github.com/llvm/llvm-project/pull/130090


More information about the lldb-commits mailing list