libexcept 1.1.19
Stack trace along C++ exceptions
Namespaces | Functions | Variables
exception.cpp File Reference

Implementation of the libexcept classes. More...

#include "libexcept/exception.h"
#include "libexcept/demangle.h"
#include <iostream>
#include <memory>
#include <vector>
#include <execinfo.h>
#include <link.h>
#include <unistd.h>
Include dependency graph for exception.cpp:

Go to the source code of this file.

Namespaces

namespace  libexcept
 
namespace  libexcept::anonymous_namespace{exception.cpp}
 

Functions

collect_stack_t libexcept::get_collect_stack ()
 Tells you whether the general flag is true or false.
 
void libexcept::set_collect_stack (collect_stack_t collect_stack)
 Set a general flag on whether to collect stack traces or not.
 

Variables

collect_stack_t libexcept::anonymous_namespace{exception.cpp}::g_collect_stack = collect_stack_t::COLLECT_STACK_YES
 Global flag to eventually prevent stack trace collection.
 

Detailed Description

This file includes the library implementation. Especially, it has the code that generates a stack trace and converts the results to a C++ vector of strings.

Definition in file exception.cpp.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.