JDevlieghere wrote: > I think I know why - it's by design: In the `Host::FindProcessImpl()` for iOS > simulator, after getting all processes in the macOS, it filters out the > processes which are being debugged > ([here](https://github.com/llvm/llvm-project/blob/b5dbf8210a57b986b9802304745f4c5c108cf37b/lldb/source/Host/macosx/objcxx/Host.mm#L724)). > `a.out` is of course being debugged (by the test case) and got filtered out.
Ah, that's unfortunate, but good catch. In `TestAppleSimulatorOSType` there's a snippet that launched a binary with `simctl`. Could we use that to launch the binary without it being traced? ``` $ xcrun simctl spawn -s <device uuid> <path/to/binary> ``` https://github.com/llvm/llvm-project/pull/139174 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits