Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2019 22:54:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 235033] [feature suggestion] Stack should be unwound and exception should be printed when a C++ application throws an uncaught exception
Message-ID:  <bug-235033-227-Sxu2frbdoK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-235033-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-235033-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235033

--- Comment #3 from Yuri Victorovich <yuri@freebsd.org> ---
(In reply to Conrad Meyer from comment #2)

I think that it isn't possible to generically catch exceptions. Even in C++
alone, object of any type can be thrown, ex. a primitive type, std::string,
char* or even void*. These types can only be printed in application-specific
manner.

I closed this PR on the second thought.

It would be nice if exception is identified as a C++ exception and printed,=
 but
I also feel that this would be kind-of a hack.

But if somebody feels differently, and thinks that it makes sense to implem=
ent
such special C++ exceptions handling, they are welcome to do so. :-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235033-227-Sxu2frbdoK>