Provides a backtrace. More...
Public Member Functions | |
Backtrace () | |
Constructor initialize fields and call GetAddress to retrieve addresses for each frame of backtrace. More... | |
std::string | ToString () |
Returns string of backtrace. More... | |
Provides a backtrace.
The Backtrace class retrieve addresses of each called function from the stack and decode file name, function & line number. Retrieved information can be printed in form:
Backtrace is printed always when Log::Assert failed. An example is given below.
Definition at line 46 of file backtrace.hpp.
Backtrace | ( | ) |
Constructor initialize fields and call GetAddress to retrieve addresses for each frame of backtrace.
std::string ToString | ( | ) |
Returns string of backtrace.