[all-commits] [llvm/llvm-project] 1495d1: [lldb-dap] Add an RAII helper for synchronous mode...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Apr 30 15:18:54 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1495d132db1d26b086d2ea6b1b9c397bf4ea4a7d
      https://github.com/llvm/llvm-project/commit/1495d132db1d26b086d2ea6b1b9c397bf4ea4a7d
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-04-30 (Wed, 30 Apr 2025)

  Changed paths:
    M lldb/tools/lldb-dap/DAP.cpp
    M lldb/tools/lldb-dap/Handler/AttachRequestHandler.cpp
    M lldb/tools/lldb-dap/Handler/RequestHandler.cpp
    M lldb/tools/lldb-dap/Handler/RestartRequestHandler.cpp
    M lldb/tools/lldb-dap/LLDBUtils.cpp
    M lldb/tools/lldb-dap/LLDBUtils.h

  Log Message:
  -----------
  [lldb-dap] Add an RAII helper for synchronous mode (NFC) (#137900)

While debugging the flakiness of the launch and attach tests, I noticed
that we have some places in lldb-dap where we put the debugger in
synchronous mode and have an early exit, that would leave the debugger
in this state. This PR introduces an RAII helper to avoid such mistakes.



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