[Lldb-commits] [lldb] [lldb] Add stop-on-fork and stop-on-vfork settings (PR #188710)

via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 29 16:53:33 PDT 2026


================
@@ -282,6 +282,14 @@ let Definition = "process", Path = "target.process" in {
     Global,
     DefaultTrue,
     Desc<"If true, stop when the inferior exec's.">;
+  def StopOnFork: Property<"stop-on-fork", "Boolean">,
+    Global,
+    DefaultFalse,
+    Desc<"If true, stop when the inferior forks.">;
----------------
jimingham wrote:

Can we make clear somewhere (maybe in this help string): If I have `follow-child` set to `true`, will this stop before we detach from the parent and reattach to the child or after?

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


More information about the lldb-commits mailing list