LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Strace Linux System Call (https://www.linuxquestions.org/questions/programming-9/strace-linux-system-call-727931/)

Peter_APIIT 05-23-2009 12:01 AM

Strace Linux System Call
 
Hello to all, how strace system call is really helpful in debugging ?

Thanks.

osor 05-23-2009 03:26 AM

Strace is not a system call, but rather a program which prints out all the system calls made by program you are debugging (this notifies you of the arguments, return values, errors, etc. obtained from the system calls).

A similar program called ltrace will print out all (or selected) shared library calls (e.g., libc) made by your running program.

Peter_APIIT 05-25-2009 12:12 AM

Thanks.


All times are GMT -5. The time now is 12:21 AM.