Tracing in Linux and macOS
If you’re coming from Linux, you may be familiar with the
ptrace
family of commands —strace
andltrace
. If you’re coming from macOS, you may have had brief encounters withdtruss
ordtrace
, instead.If you haven’t heard of them before or haven’t had the chance to play with them, this post is for you. I’m going to show you what they do and why they are important tools to know.
Source: Tracing in Linux and macOS, an article by Patrick Elsen.