Original Post
Is there any way I can get hold of the name of a function in C++? I need this for debug purposes. The task system in my game has a lot of callback-functions, and would really like to be able to print out in which callback I'm inside at the moment. I know i can use the __FUNCTION__ macro from inside a function. But that does not work if I'm outside it. /TC