================
@@ -0,0 +1,47 @@
+import * as vscode from "vscode";
+
+/**
+ * Context captured at debug-configuration-resolution time so that the
+ * `lldb-dap.pickProcess` command (invoked later by VS Code's variable
+ * substitution for `${command:pickProcess}`) can target the correct lldb-dap
+ * binary and platform.
+ *
+ * VS Code's command substitution does not pass the in-flight debug
+ * configuration to the command handler, so we stash it here instead. The flow
+ * is:
+ *
+ *   1. `resolveDebugConfiguration(folder, config)`   → `set(...)`
+ *   2. VS Code expands `${command:pickProcess}`      → `take()`
+ *   3. `resolveDebugConfigurationWithSubstitutedVariables(...)`
----------------
JDevlieghere wrote:

The last commit removes the indirection. LMK what you think.

https://github.com/llvm/llvm-project/pull/197513
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to