[Lldb-commits] [lldb] [lldb-dap] Support the Module Event (PR #137380)

Ebuka Ezike via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 25 11:38:58 PDT 2025


================
@@ -692,7 +692,9 @@ void DAP::SetTarget(const lldb::SBTarget target) {
     lldb::SBListener listener = this->debugger.GetListener();
     listener.StartListeningForEvents(
         this->target.GetBroadcaster(),
-        lldb::SBTarget::eBroadcastBitBreakpointChanged);
+        lldb::SBTarget::eBroadcastBitBreakpointChanged |
+            lldb::SBTarget::eBroadcastBitModulesLoaded |
----------------
da-viper wrote:

Should handle when the symbols in the module changes ` eBroadcastBitSymbolsLoaded` and `eBroadcastBitSymbolsChanged` since symbol changes are reported  when `CreateModule` is called 

This corresponds to the module event reason `changed` 

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


More information about the lldb-commits mailing list