================
@@ -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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to