A quick suggestion for the author based on the &quot;dude I can&#x27;t debug anything on OS X&quot; line - take a look at DTrace, which is shipped with MacOS (albeit an old version).<p>Compared with strace on Linux it is like night and day.