I wanna know if there is any way to know where the function currently in execution was called, this is, in what file and line.
I\'m using C language, and I\'m looking for so
This is actually a bit more complicated to do. Your best bet is to get a backtrace on a debugger, or find something similar to pstack for your platform. The manual way would involve traversing the call stack and using debug symbols to translate that to files and lines.