Remix.run Logo
Strace-macOS: A clone of the strace command for macOS(github.com)
42 points by signa11 9 hours ago | 7 comments
comex an hour ago | parent | next [-]

Neat, though I'm guessing it's pretty slow.

Tip for anyone reading: If you only need to trace file accesses or command executions, `eslogger lookup` and `eslogger exec` respectively will give you what you need (albeit in the form of a not-particularly-friendly JSON blob).

sandbags 2 hours ago | parent | prev | next [-]

Modulo I haven’t tried it yet it’s been an irritant that SIP broke tracing so this is a welcome development, thank you.

CGamesPlay 28 minutes ago | parent | prev | next [-]

Love it. I've never successfully used dtruss without hardlocking my system, so it's nice to see that this isn't a wrapper around that.

saagarjha 18 minutes ago | parent [-]

The bug for this was fixed in Tahoe

cyberpunk 32 minutes ago | parent | prev [-]

Silly question but doesn’t macos ship with dtrace? So why not use dtruss?

owyn 16 minutes ago | parent | next [-]

dtruss requires disabling SIP. This seems like a better option for basic "what just happened?" debugging.

saagarjha 18 minutes ago | parent | prev [-]

You need to disable SIP to use DTrace