Fixposition SDK 0.0.0-heads/main-0-g7b59b93
Collection of c++ libraries and apps for use with Fixposition products
|
Helper to print a strack trace on SIGSEGV and SIGABRT. More...
#include <app.hpp>
Helper to print a strack trace on SIGSEGV and SIGABRT.
On construction this installs a handler for SIGSEGV and SIGABRT, which prints a stack trace. Note that signal handlers are global and therefore you can only use one StacktraceHelper in a app. It is probably a good idea to only include this in non-Release builds.
Example: