Skip to content
Snippets Groups Projects
Commit 043b10ba authored by Jan Trávníček's avatar Jan Trávníček
Browse files

simple stacktrace by default -- speed improvements

parent 78e5f189
No related branches found
No related tags found
No related merge requests found
......@@ -15,13 +15,18 @@
#include <execinfo.h>
#ifdef DEBUG
#include "../debug/bfdStacktrace.h"
#include "../debug/simpleStacktrace.h"
#endif
 
namespace exception {
 
AlibException::AlibException ( ) {
#ifdef DEBUG
//this->backtrace = std::bfdStacktrace();
#ifdef BFD_STACK_TRACE
this->backtrace = std::bfdStacktrace();
#else
this->backtrace = std::simpleStacktrace();
#endif
#else
this->backtrace = "";
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment