ALPSCore reference
Namespaces | Macros | Functions
stacktrace.hpp File Reference
#include <alps/config.hpp>
#include <alps/utilities/stringify.hpp>
#include <string>
Include dependency graph for stacktrace.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 alps
 

Macros

#define ALPS_MAX_FRAMES   63
 
#define ALPS_NO_STACKTRACE
 
#define ALPS_STACKTRACE
 

Functions

std::string alps::stacktrace ()
 

Macro Definition Documentation

#define ALPS_MAX_FRAMES   63

Definition at line 17 of file stacktrace.hpp.

#define ALPS_NO_STACKTRACE

Definition at line 27 of file stacktrace.hpp.

#define ALPS_STACKTRACE
Value:
( \
std::string("\nIn ") + __FILE__ \
+ " on " + ALPS_STRINGIFY(__LINE__) \
+ " in " + __FUNCTION__ + "\n" \
)
std::string stacktrace()
Definition: stacktrace.cpp:25
#define ALPS_STRINGIFY(arg)
Definition: stringify.hpp:10

Definition at line 37 of file stacktrace.hpp.