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 something similar to __FUNCTION__, __LINE__ or __FILE__ macros.
I wanna know if there is any way to know where the function currently
Share
Rename your function
to
Then #define a macro like this: