[all-commits] [llvm/llvm-project] a3ac1f: [lldb-dap] Adding server mode support to lldb-dap ...

John Harrison via All-commits all-commits at lists.llvm.org
Fri Feb 28 10:49:45 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3ac1f2278dec155e0e0b4d06ec816ba325f6979
      https://github.com/llvm/llvm-project/commit/a3ac1f2278dec155e0e0b4d06ec816ba325f6979
  Author: John Harrison <harjohn at google.com>
  Date:   2025-02-28 (Fri, 28 Feb 2025)

  Changed paths:
    M lldb/tools/lldb-dap/package.json
    M lldb/tools/lldb-dap/src-ts/debug-adapter-factory.ts
    M lldb/tools/lldb-dap/src-ts/extension.ts

  Log Message:
  -----------
  [lldb-dap] Adding server mode support to lldb-dap VSCode extension. (#128957)

This adds support for launching lldb-dap in server mode. The extension
will start lldb-dap in server mode on-demand and retain the server until
the VSCode window is closed (when the extension context is disposed).
While running in server mode, launch performance for binaries is greatly
improved by improving caching between debug sessions.

For example, on my local M1 Max laptop it takes ~5s to attach for the
first attach to an iOS Simulator process and ~0.5s to attach each time
after the first.



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