ATLAS Offline Software
|
Generate stack trace backs from a caught exception. More...
#include "CxxUtils/SealCommon.h"
#include "CxxUtils/SealDebug.h"
#include "CxxUtils/checker_macros.h"
#include <exception>
Go to the source code of this file.
Namespaces | |
CxxUtils | |
Functions | |
void | CxxUtils::exctrace (const std::exception &e, IOFD fd=IOFD_INVALID) |
Print out information for the last exception. More... | |
Generate stack trace backs from a caught exception.
If you run with libexctrace_collector.so added to your LD_PRELOAD, then we'll remember the backtrace from the last exception thrown. You can then call CxxUtils::exctrace to print it out. This will behave sensibly if the collector module hasn't been preloaded (just print the exception, with no backtrace).
Definition in file exctrace.h.