https://github.com/gmondada created https://github.com/llvm/llvm-project/pull/173852
Trivial change to prevent all warnings from being printed on a single line in the VS Code debug console. >From ef1b64fec8ca7c7e39d3b9f35169f8e64fdc0ab2 Mon Sep 17 00:00:00 2001 From: Gabriele Mondada <[email protected]> Date: Sun, 28 Dec 2025 20:09:20 +0100 Subject: [PATCH] [lldb-dap] Correctly format lldb warnings in the debug console --- lldb/tools/lldb-dap/EventHelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/tools/lldb-dap/EventHelper.cpp b/lldb/tools/lldb-dap/EventHelper.cpp index 01d4547e2d228..080860de50505 100644 --- a/lldb/tools/lldb-dap/EventHelper.cpp +++ b/lldb/tools/lldb-dap/EventHelper.cpp @@ -566,7 +566,7 @@ static void HandleDiagnosticEvent(const lldb::SBEvent &event, Log &log) { std::string type = GetStringValue(data.GetValueForKey("type")); std::string message = GetStringValue(data.GetValueForKey("message")); dap_instance->SendOutput(OutputType::Important, - llvm::formatv("{0}: {1}", type, message).str()); + llvm::formatv("{0}: {1}\n", type, message).str()); } } _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
