[Lldb-commits] [PATCH] D120972: [lldb] Show progress events in the command line driver
    Pavel Labath via Phabricator via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Wed Mar  9 04:36:41 PST 2022
    
    
  
labath added inline comments.
================
Comment at: lldb/source/Core/Debugger.cpp:1624
 
+  if (!m_broadcaster.EventTypeHasListeners(Debugger::eBroadcastBitProgress)) {
+    listener_sp->StartListeningForEvents(&m_broadcaster,
----------------
Why is this conditional on someone else listening for this event? We don't e.g. suppress the "Thread #N" blurb if someone is listening for eBroadcastBitThreadSelected
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120972/new/
https://reviews.llvm.org/D120972
    
    
More information about the lldb-commits
mailing list