[all-commits] [llvm/llvm-project] 770cd4: [lldb-dap] Add invalidated event (#157530)

Druzhkov Sergei via All-commits all-commits at lists.llvm.org
Thu Sep 11 12:07:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 770cd432a692d9c35285fcbbd8e4fcca172ee7d7
      https://github.com/llvm/llvm-project/commit/770cd432a692d9c35285fcbbd8e4fcca172ee7d7
  Author: Druzhkov Sergei <serzhdruzhok at gmail.com>
  Date:   2025-09-11 (Thu, 11 Sep 2025)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
    M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
    M lldb/test/API/tools/lldb-dap/memory/TestDAP_memory.py
    M lldb/test/API/tools/lldb-dap/variables/TestDAP_variables.py
    M lldb/tools/lldb-dap/EventHelper.cpp
    M lldb/tools/lldb-dap/EventHelper.h
    M lldb/tools/lldb-dap/Handler/SetVariableRequestHandler.cpp
    M lldb/tools/lldb-dap/Handler/WriteMemoryRequestHandler.cpp
    M lldb/tools/lldb-dap/Protocol/ProtocolEvents.cpp
    M lldb/tools/lldb-dap/Protocol/ProtocolEvents.h
    M lldb/unittests/DAP/ProtocolTypesTest.cpp

  Log Message:
  -----------
  [lldb-dap] Add invalidated event (#157530)

This patch fixes the problem, when after a `setVariable` request
pointers and references to the variable are not updated. VSCode doesn't
send a `variables` request after a `setVariable` request, so we should
trigger it explicitly via`invalidated` event .Also, updated
`writeMemory` request in similar way.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list