New Wiki, How to Get a UE4 FString of Calling Class, Function, and Line Number -

Powerful Debugging Tools For You

I continue to find printing screen messages with the line number built exceptionally useful, so I can freely print stuff to the screen all over my code base and always know where it is to get rid of it later :slight_smile:

Using the .h file I share with you in the original post of this thread, you can easily output messages to yourself that tell you

  1. the class where you printed the message

  2. the line number on which you printed the message

  3. the name of the function in which you printed the message!

  4. the function signature which contains the printed message

And I exposed this to the screen debug messages as well as to the UE_LOG system!

Enjoy!