58bool& loc_enableStackTrace()
60 static bool static_enableStackTrace =
61#ifdef HAVE_TEUCHOS_DEFAULT_STACKTRACE
67 return static_enableStackTrace;
115 std::ostringstream
omsg;
116 if (GlobalMPISession::getNProc() > 1) {
117 omsg <<
"p="<<GlobalMPISession::getRank()<<
": ";
120 std::cerr <<
omsg.str();
A MPI utilities class, providing methods for initializing, finalizing, and querying the global MPI se...
Standard test and throw macros.
Smart reference counting pointer class for automatic garbage collection.
TEUCHOSCORE_LIB_DLL_EXPORT int TestForException_getThrowNumber()
Increment the throw number.
TEUCHOSCORE_LIB_DLL_EXPORT void TestForException_break(const std::string &msg)
The only purpose for this function is to set a breakpoint.
TEUCHOSCORE_LIB_DLL_EXPORT void TestForException_setEnableStacktrace(bool enableStrackTrace)
Set at runtime if stacktracing functionality is enabled when * exceptions are thrown.
TEUCHOSCORE_LIB_DLL_EXPORT void TestForException_incrThrowNumber()
Increment the throw number.
TEUCHOSCORE_LIB_DLL_EXPORT bool TestForException_getEnableStacktrace()
Get at runtime if stacktracing functionality is enabled when exceptions are thrown.
TEUCHOSCORE_LIB_DLL_EXPORT void TestForTermination_terminate(const std::string &msg)
Prints the message to std::cerr and calls std::terminate.