Are you serious? There is nothing comparable to strace on MacOS? strace can save you so much time if some software (your own or not) just doesn't work like you want. Of course problems 100% in user space are not covered. But I find a fair share of real world problems are.
> Are you serious? There is nothing comparable to strace on MacOS?
There's dtruss, but the information and options are nowhere near as useful as strace, and for some system calls it prints errors instead. read() and write() print access errors so you can't see what's read and written, same with stat/fstat, you just get an address, no file information.
Perhaps strace could be ported to MacOS but it's not. "brew install strace" says "strace: Linux is required for this software." :-)