backward.cpp
Go to the documentation of this file.
00001 // Pick your poison.
00002 //
00003 // On GNU/Linux, you have few choices to get the most out of your stack trace.
00004 //
00005 // By default you get:
00006 //      - object filename
00007 //      - function name
00008 //
00009 // In order to add:
00010 //      - source filename
00011 //      - line and column numbers
00012 //      - source code snippet (assuming the file is accessible)
00013 
00014 // Install one of the following library then uncomment one of the macro (or
00015 // better, add the detection of the lib and the macro definition in your build
00016 // system)
00017 
00018 // - apt-get install libdw-dev ...
00019 // - g++/clang++ -ldw ...
00020 // #define BACKWARD_HAS_DW 1
00021 
00022 // - apt-get install binutils-dev ...
00023 // - g++/clang++ -lbfd ...
00024 
00025 #define BACKWARD_HAS_BFD 1
00026 
00027 #include "backward.hpp"
00028 
00029 namespace backward {
00030 
00031 backward::SignalHandling sh;
00032 
00033 } // namespace backward


plotjuggler
Author(s): Davide Faconti
autogenerated on Fri Sep 1 2017 02:41:55