strace for mac
18 Jun 2015 08:55 | development | macOS
strace is really useful on Linux for figuring out why some program isn’t doing what it should.
Not sure how many people know this but you can do the same thing on darwin using dtruss, it’s just no quite so obvious. Using this script:
https://github.com/m4rkw/env/blob/master/bin/strace.bin
with an alias that always run it as sudo:
alias strace=”sudo strace”
you can then strace
