3 ms·
I’ve used strace before to help diagnose issues with buggy software I was using and I thought this was a great article. I just thought I’d let people know that
by Anthony-G 13y ago
I’ve used strace before to help diagnose issues with buggy software I was using and I thought this was a great article.
I just thought I’d let people know that it can be a lot easier to read strace’s output if you read the output log file using Vim as it contains a syntax file which can highlight PIDs, function names, constants, strings, etc. Alternatively, if you don’t want to create an strace log file, you could pipe the output to Vim and it will automatically detect it as being strace output, e.g.
strace program_name 2>&1 | vim -