strace Alternatives for Mac

strace is not available for Mac but there are some alternatives that runs on macOS with similar functionality. The best Mac alternative is Valgrind, which is both free and Open Source. If that doesn't suit you, our users have ranked more than 10 alternatives to strace and six of them are available for Mac so hopefully you can find a suitable replacement. Other interesting Mac alternatives to strace are Stratoshark, Sysdig, DTrace and ktrace.

Copy a direct link to this comment to your clipboard
strace alternatives page was last updated

Alternatives list

  1. Valgrind icon
     33 likes

    Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail. You can also use Valgrind to build new tools.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Linux
    • Android
     
  2. Provides an unprecedented view into application activity on systems, enabling exploration and analysis with advanced features. Familiar to Wireshark users, it offers seamless integration with Falco and Sysdig CLI, empowering IT professionals with comprehensive diagnostics and troubleshooting capabilities.

    Cost / License

    Platforms

    • Mac
    • Windows
     
  3. Sysdig icon
     12 likes

    Sysdig is open source, system-level exploration: capture system state and activity from a running Linux instance, then save, filter and analyze. Think of it as strace + tcpdump + lsof + awesome sauce.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Windows
    • Linux
     
  4. DTrace icon
     4 likes

    DTrace is a performance analysis and troubleshooting tool that is included by default with various operating systems, including Solaris, Mac OS X and FreeBSD. A Linux port is in development.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Linux
    • BSD
    • Solaris
    • FreeBSD
     
  5.  1 like

    The ktrace utility enables kernel trace logging for the specified processes. Kernel trace data is logged to the file ktrace.out. The kernel operations that are traced include system calls, namei translations, signal processing, and I/O.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • BSD
    • FreeBSD
     
  6. JTracer icon
     3 likes

    C++ exception (and generic) stack trace debug suite.

    Cost / License

    • Free
    • Open Source

    Alerts

    • Discontinued

    Platforms

    • Mac
    • Windows
    • Linux
    • Android
    • Java Mobile
    • Android Tablet
     
6 of 6 strace alternatives