[Lldb-commits] [lldb] [lldb-dap] Add invalidated event (PR #157530)
    Druzhkov Sergei via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Tue Sep  9 12:05:25 PDT 2025
    
    
  
================
@@ -440,6 +441,8 @@ def _handle_event(self, packet: Event) -> None:
         elif event == "capabilities" and body:
             # Update the capabilities with new ones from the event.
             self.capabilities.update(body["capabilities"])
+        elif event == "invalidated":
+            self.invalidated_event = packet
----------------
DrSergei wrote:
We check invalidated event in `verify_invalidated_event` function and reset this field. This function is called inside wrappers around `setVariable` and `writeMemory` requests.
https://github.com/llvm/llvm-project/pull/157530
    
    
More information about the lldb-commits
mailing list