3 ms·
We turned on strace like functionality (ex: https://github.com/nanovms/nanos/issues/844 https://github.com/nanovms/nanos/issues/844 ) for Nanos a long time ago
by eyberg 7y ago
We turned on strace like functionality (ex: https://github.com/nanovms/nanos/issues/844 https://github.com/nanovms/nanos/issues/844 ) for Nanos a long time ago to figure out what to work on for various applications.
Having said that it's not something I advocate people do to fix production issues - especially if they didn't write the code they are looking to debug/fix.
- downerending 7y agoNot sure whether I understood your comment, but for me, strace has been an extremely useful tool for debugging code that I didn't write. Even in the case where source is available, it's often virtually impenetrable, and many times, seeing that a program is attempting a series of system calls that is foolish or guaranteed to fail can quickly provide insight into the problem.