[Lldb-commits] [lldb] [lldb-dap] Adding server mode support to lldb-dap VSCode extension. (PR #128957)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 28 10:43:20 PST 2025


================
@@ -15,13 +13,14 @@ import { DisposableContext } from "./disposable-context";
 export class LLDBDapExtension extends DisposableContext {
   constructor() {
     super();
+    const factory = new LLDBDapDescriptorFactory();
+    this.pushSubscription(factory);
----------------
ashgti wrote:

I made the factor itself implement `vscode.Disposable` so if the extension is deactivated it will stop the server, if its running.

https://github.com/llvm/llvm-project/pull/128957


More information about the lldb-commits mailing list