Debugging software is something akin to an art form but, regardless of the approach you prefer, having good information on what’s happening in your application is key.
ltrace is one tool you may wish to add to your belt – a debugging tool that attaches to a running process, and prints to the terminal or a log file the library calls and/or system calls made by that process. In both its mode of operation and command line interface,
ltrace is similar to
strace only works for system calls, however,
ltrace has no such restriction.
Continue reading “ltrace for RHEL 6 and 7”