[Lldb-commits] [lldb] [lldb][progress] Hook up new broadcast bit and progress manager (PR #83069)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Tue Feb 27 14:47:37 PST 2024
================
@@ -1929,6 +1938,8 @@ lldb::thread_result_t Debugger::DefaultEventHandler() {
} else if (broadcaster == &m_broadcaster) {
if (event_type & Debugger::eBroadcastBitProgress)
HandleProgressEvent(event_sp);
+ else if (event_type & Debugger::eBroadcastBitProgressCategory)
+ HandleProgressEvent(event_sp);
----------------
JDevlieghere wrote:
Now we're going to handle the same event twice, once when broadcast as `eBroadcastBitProgress` and once when broadcast as `eBroadcastBitProgressCategory`. In the default event handler we want to see all the individual updates and as that's a superset, we should not handle `eBroadcastBitProgressCategory`.
https://github.com/llvm/llvm-project/pull/83069
More information about the lldb-commits
mailing list