[Bug 235033] [feature suggestion] Stack should be unwound and exception should be printed when a C++ application throws an uncaught exception

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 17 22:54:32 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235033

--- Comment #3 from Yuri Victorovich <yuri at 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 implement
such special C++ exceptions handling, they are welcome to do so. :-)

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


More information about the freebsd-bugs mailing list