From: wolf Date: Thu, 30 Jun 2005 21:05:55 +0000 (+0000) Subject: Suppress frames again. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d732b9b4cb3e851cc06176114e5fbe4e7aaa4f84;p=dealii-svn.git Suppress frames again. git-svn-id: https://svn.dealii.org/trunk@11020 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/exceptions.cc b/deal.II/base/source/exceptions.cc index 8b2a611b28..6398114d94 100644 --- a/deal.II/base/source/exceptions.cc +++ b/deal.II/base/source/exceptions.cc @@ -99,12 +99,12 @@ void ExceptionBase::print_stack_trace (std::ostream &out) const // place where the exception was // triggered int frame = 0; -// while ((frame < n_stacktrace_frames) -// && -// ((std::string(stacktrace[frame]).find ("ExceptionBase") != std::string::npos) -// || -// (std::string(stacktrace[frame]).find ("deal_II_exceptions") != std::string::npos))) -// ++frame; + while ((frame < n_stacktrace_frames) + && + ((std::string(stacktrace[frame]).find ("ExceptionBase") != std::string::npos) + || + (std::string(stacktrace[frame]).find ("deal_II_exceptions") != std::string::npos))) + ++frame; // output the rest for (; frame < n_stacktrace_frames; ++frame)