Classes | Namespaces | Functions
DebugUtils.h File Reference
#include "cetlib_except/demangle.h"
#include <cstddef>
#include <cstdlib>
#include <utility>
#include <vector>
#include <string>
#include <sstream>
#include <bitset>
#include <typeinfo>
#include <ostream>
#include <execinfo.h>

Go to the source code of this file.

Classes

struct  gar::debug::CallInfo_t
 Structure with information about a single call, parsed. More...
 
class  gar::debug::CallInfoPrinter
 Class handling the output of information in a CallInfo_t object. More...
 
struct  gar::debug::CallInfoPrinter::opt
 Set of options for printing. More...
 

Namespaces

 gar
 General GArSoft Utilities.
 
 gar::debug
 

Functions

template<typename T >
std::string gar::debug::demangle (T const *=nullptr)
 Outputs a demangled name for type T. More...
 
template<typename Stream >
Stream & gar::debug::operator<< (Stream &&out, CallInfo_t const &info)
 Helper operator to insert a call information in a stream with default options. More...
 
template<typename Stream >
void gar::debug::printBacktrace (Stream &&out, unsigned int maxLines=5, std::string indent=" ", CallInfoPrinter::opt const *options=nullptr)
 Prints the full backtrace into a stream. More...