[Lldb-commits] [lldb] [LLDB-DAP] Send Progress update message over DAP (PR #123837)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 21 14:59:21 PST 2025


================
@@ -117,6 +117,10 @@ json::Value ProgressEvent::ToJSON() const {
     body.try_emplace("cancellable", false);
   }
 
+  if (m_event_type == progressUpdate) {
+    EmplaceSafeString(body, "message", m_message);
+  }
----------------
JDevlieghere wrote:

Nit: no braces around single-line if.

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


More information about the lldb-commits mailing list