All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pgr_assert.cpp File Reference
#include "./pgr_assert.h"
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <string>
#include <exception>

Go to the source code of this file.


std::string get_backtrace ()
 returns the execution path of the trace More...
std::string get_backtrace (const std::string &msg)

Function Documentation

std::string get_backtrace ( )

returns the execution path of the trace

In case of a failed exception the backtrace can be is shown in the error message.

Does not work for windows, please read:

Definition at line 26 of file pgr_assert.cpp.

Referenced by get_backtrace().

std::string get_backtrace ( const std::string &  msg)

Definition at line 47 of file pgr_assert.cpp.

References get_backtrace().