from Hacker News

Strace Tips for Better Debugging

by signa11 on 6/14/25, 7:20 AM with 2 comments

  • by jauntywundrkind on 6/16/25, 12:07 AM

    I've finally become kind of ok at doing Mac development. But the lack of starve hits me 8 times a year and I just have the strongest, "how does any dev consider using this OS (where we have no way to see what is happening)?"

    I looked at using some of the dtrace related tools, but it a) seems a dying breed on Mac, b) had some pretty hefty disarming-of-usual-safeties requirements that corporate blocked.

  • by o11c on 6/14/25, 10:14 PM

    I prefer `-ff` over just `-f` to avoid the annoyance of every line being interrupted by another process. `strace-log-merge` can merge the files again if you really care.