From 2d0d9ef78501a0d3c9b6ab77bd31afa845db7cd3 Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Thu, 7 May 2009 09:44:25 -0230 Subject: Bug 2664 - show stack traces with C++ --- cpp/src/Ice/Outgoing.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpp/src/Ice/Outgoing.cpp') diff --git a/cpp/src/Ice/Outgoing.cpp b/cpp/src/Ice/Outgoing.cpp index 893b105cd3f..165255d8a7d 100644 --- a/cpp/src/Ice/Outgoing.cpp +++ b/cpp/src/Ice/Outgoing.cpp @@ -58,6 +58,9 @@ IceInternal::LocalExceptionWrapper::throwWrapper(const std::exception& ex) } stringstream s; s << *le; +#ifdef __GNUC__ + s << "\n" << le->ice_stackTrace(); +#endif throw LocalExceptionWrapper(UnknownLocalException(__FILE__, __LINE__, s.str()), false); } string msg = "std::exception: "; -- cgit v1.2.3