================ @@ -1710,6 +1710,8 @@ void request_initialize(const llvm::json::Object &request) { body.try_emplace("supportsLogPoints", true); // The debug adapter supports data watchpoints. body.try_emplace("supportsDataBreakpoints", true); + // Putting version string. Note: this is not part of DAP spec. + body.try_emplace("version", g_dap.debugger.GetVersionString()); ---------------- clayborg wrote:
I would add a dictionary named "__lldb" and the contents will be the "version": <string> like: ``` "__lldb": { "version": "<version string>" } ``` Then we can add more stuff in here in the future if we need to know things. The Python version would be interesting as well possibly in the future. https://github.com/llvm/llvm-project/pull/98703 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits