[Lldb-commits] [lldb] [lldb] Emit diagnostics as "important" output (PR #137280)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 25 08:55:17 PDT 2025


================
@@ -117,6 +118,9 @@ static void EventThreadFunction(DAP &dap) {
   lldb::SBEvent event;
   lldb::SBListener listener = dap.debugger.GetListener();
   dap.broadcaster.AddListener(listener, eBroadcastBitStopEventThread);
+  dap.debugger.GetBroadcaster().AddListener(
+      listener, lldb::SBDebugger::eBroadcastBitError |
----------------
JDevlieghere wrote:

The enum exists both in SBDebugger (for API compatibility) as well as in `lldb-enumerations.h`. We should definitely be consistent, so let's go with the latter.

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


More information about the lldb-commits mailing list