Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 2
    As mentioned in my comment on the other answer, you can run csrutil enable --without dtrace --without debug to get dtrace working without completely disabling SIP. Commented Nov 10, 2021 at 15:04
  • curious, is there something wrong with using the strace provided by brew? e.g. formulae.brew.sh/formula/strace Commented Jun 13, 2022 at 17:37
  • 4
    @CharlieParker yes, strace works for Linux only, not for macOS Commented Jun 19, 2022 at 11:18
  • is it possible to run dtruss without doing the complicated things suggested in this question/post/answers? Commented Feb 23, 2023 at 19:41
  • @CharlieParker I don't think it's possible since security policy of macOS Commented Feb 24, 2023 at 4:23