5 ms·
A quick suggestion for the author based on the "dude I can't debug anything on OS X" line - take a look at DTrace, which is shipped with MacOS (albeit an old ve
by jen20 11y ago
A quick suggestion for the author based on the "dude I can't debug anything on OS X" line - take a look at DTrace, which is shipped with MacOS (albeit an old version).
Compared with strace on Linux it is like night and day.
- jonesetc 11y ago> http://jvns.ca/blog/2016/01/14/a-few-notes-on-my-cusec-talk/ http://jvns.ca/blog/2016/01/14/a-few-notes-on-my-cusec-talk/ On debugging, second bullet. She seems to agree.
- renox 11y agoGood advice, on Windows it's really a nightmare though.. Investigating why the OS seems to 'freeze' a process for 10s once in a while (threading issue?) is really mysterious..
- sspiff 11y agoDTrace is closer to something like LTTng than to strace, though.
- masklinn 11y agodtrace is an "everything tracer", so it's a superset of strace… and a ton of other stuff.
- cm3 11y agoIn other words, you can whip up strace in a few lines with DTrace.
- astrange 11y agoDTrace comes with a syscall tracer called 'dtruss'. One serious problem - it has to run as root.
- iso-8859-1 11y agosounds kinda like SystemTap?
- masklinn 11y agoSystemTap is dtrace for linux, at least in intent (implementation and details differ)
- sigjuice 11y agoUnfortunately, dtrace does not work any more on El Capitan by default.