PGROUTING  2.4
 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.

Functions

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: http://stackoverflow.com/questions/27639931/can-not-find-execinfo-h-when-setup-malpack

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().