Dumps a stack trace using gdb. More...

#include <exceptions.hh>

Static Public Member Functions

static bool & doit ()
 If doit is set to false, no stacktrace is printed. More...
 
static void print ()
 Prints the stacktrace. More...
 

Static Private Attributes

static bool doit_
 

Detailed Description

Dumps a stack trace using gdb.

This class is used if an assertion fails using conceptsAssert.

See also
conceptsAssert
Author
Philipp Frauenfelder, 2001
Adrien Semin, 2017

Definition at line 34 of file exceptions.hh.

Member Function Documentation

◆ doit()

static bool& concepts::Stacktrace::doit ( )
inlinestatic

If doit is set to false, no stacktrace is printed.

Examples
arpackppTutorial.cc.

Definition at line 39 of file exceptions.hh.

◆ print()

static void concepts::Stacktrace::print ( )
static

Prints the stacktrace.

Member Data Documentation

◆ doit_

bool concepts::Stacktrace::doit_
staticprivate

Definition at line 41 of file exceptions.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich