Running dtruss on 10.14.4 (Xcode 10.2) gives me this:

tmp$ sudo dtruss ./ls
dtrace: failed to enable '
 #pragma D option quiet

 ': Failed to enable probe
CSCppMachTaskContainer pid_for_task failed for task 20003, err 5CSCppMachTaskContainer...

This is not a code signing issue (I resigned that ls I'm running). I also already disabled System Integrity Protection so it's not that either. Did anyone see this?


I have learned today that dtrace isn't really supported any more:


I'm leaving this out in case someone runs into this.

  • Good find. Thanks for posting
    – bmike
    May 14 '19 at 1:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .