From: Paul RASCLE Date: Thu, 8 Feb 2018 11:19:51 +0000 (+0100) Subject: function printBacktrace X-Git-Tag: V8_5_0a2~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d3c8ba94f2761da03ead749e21b5000678a98945;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