How to print callstack into log ?
How can i print call stack into log ? In blueprint there is Stack Trace node but I can not call that directly in c++ because of linker errors.
What is the best way to print callstack in code ?
asked Jul 06 '16 at 04:00 AM in C++ Programming
I know it's 2 years late, but FDebug::DumpStackTraceToLog() will do exactly this.
answered Nov 29 '18 at 08:41 PM
Then look up source code how this node do it, it seems oyu need to get FFrame and from there call GetStackTrace()
There also seem to be more global version which is static function:
Note that this only give you VM that powers blueprints call stack not native CPU call stack
Follow this question
Once you sign in you will be able to subscribe for any updates here