Hacker News new | ask | show | jobs
by davidw 5035 days ago
I think it's obligatory that someone writes 'strace' in threads about articles like this, so here goes. strace is fantastic for debugging certain categories of problem.
2 comments

Absolutely, especially for those who do network programming under Unix/Linux. Combined with lsof, it can help a lot in troubleshooting issues such as deadlocks.
I'm yet to find a decent introduction to strace (or dtrace). I'd appreciate if someone could point me to one...
Here's a post outlining how strace can be used to solve problems:

https://blogs.oracle.com/ksplice/entry/strace_the_sysadmin_s...

More from a sysadmin POV than a dev, but you'd probably still find it useful.