SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::helper::BackTrace Class Reference

#include <BackTrace.h>

Static Public Member Functions

static void dump ()
 
static void autodump ()
 

Static Protected Member Functions

static void sig (int sig)
 Callback for signals. More...
 

Function details

void sofa::helper::BackTrace::autodump ( )
static

Enable dump of backtrace when a signal is received. Useful to have information about crashes without starting a debugger (as it is not always easy to do, i.e. for parallel/distributed applications). Currently only works on Linux. NOOP on other architectures

void sofa::helper::BackTrace::dump ( )
static

Dump current backtrace to stderr. Currently only works on Linux. NOOP on other architectures.

void sofa::helper::BackTrace::sig ( int  sig)
staticprotected

Callback for signals.