[all-commits] [llvm/llvm-project] 58a93a: [lldb-mcp] Run managed debug sessions synchronousl...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Jul 29 11:13:21 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58a93a1eec10d30dfa358afda73f402fb308a5e4
      https://github.com/llvm/llvm-project/commit/58a93a1eec10d30dfa358afda73f402fb308a5e4
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    M lldb/source/Plugins/Protocol/MCP/Tool.cpp

  Log Message:
  -----------
  [lldb-mcp] Run managed debug sessions synchronously (#212681)

A debugger created for an MCP session has no event loop to service
asynchronous stops, so a resume returned before the process stopped and
every subsequent command failed against a still-running process. That
made breakpoint debugging unusable: `run` reported only the launch, and
`bt` that followed it errored out. Create these debuggers in synchronous
mode, as lldb-dap does.



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