From: Paul RASCLE Date: Thu, 8 Feb 2018 11:19:51 +0000 (+0100) Subject: function printBacktrace X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3bdf30e530457518e033674369ab616cda2bfa38;p=modules%2Fkernel.git function printBacktrace --- diff --git a/src/Utils/Utils_ExceptHandlers.cxx b/src/Utils/Utils_ExceptHandlers.cxx index e8778229b..1e96fd0fe 100644 --- a/src/Utils/Utils_ExceptHandlers.cxx +++ b/src/Utils/Utils_ExceptHandlers.cxx @@ -39,29 +39,9 @@ //#define NBLINES_BACKTRACE 64 -void SalomeException () -{ - void *stacklines[64]; - char **stackSymbols; - size_t nbLines; - nbLines = backtrace(stacklines, 64); - stackSymbols = backtrace_symbols(stacklines, nbLines); - std::stringstream txt; - txt << "Salome Exception" << std::endl; - for (int i=0; i