]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Suppress frames again.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Jun 2005 21:05:55 +0000 (21:05 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Jun 2005 21:05:55 +0000 (21:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@11020 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/exceptions.cc

index 8b2a611b282e72e06147444f029462bf0a19d081..6398114d947e3a3f77d2d1ae46b52bb0b92b37b5 100644 (file)
@@ -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)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.