[Lldb-commits] [lldb] [LLDB] Add a target.launch-working-dir setting (PR #113521)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 31 02:46:09 PDT 2024


================
@@ -201,6 +201,10 @@ let Definition = "target" in {
   def DebugUtilityExpression: Property<"debug-utility-expression", "Boolean">,
     DefaultFalse,
     Desc<"Enable debugging of LLDB-internal utility expressions.">;
+  def LaunchWorkingDir: Property<"launch-working-dir", "String">,
+    DefaultStringValue<"">,
+    Desc<"A default value for the working directory to use when launching processes. "
+         "It's not used when empty.">;
----------------
DavidSpickett wrote:

Here we should say how it interacts with commands that can set the working dir, and that changing this at runtime does not change the running process' working dir.

"This setting is only used when the target is launched. If you change this setting, the new value will only apply to subsequent launches."

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


More information about the lldb-commits mailing list