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
There's nothing in C itself that would give you this information. You could either trace the information yourself (upon entry/exit) or rely on platform specific APIs to walk the call stack and determine the calling function, but not much more.