Improve the messages for cet::exception
Could the cet::exception messages be made more informative?
eg. a function/stack and line number info of the original exception be added?
(epsecially given that gdb will not be able to provide that info since the program exits "cleanly")
%MSG-e PassingThrough: PostSourceRun 25-Mar-2015 09:33:53 CDT run: 1
an exception occurred during current event processing
%MSG-s ArtException: PostCloseFile 25-Mar-2015 09:33:54 CDT run: 1
cet::exception caught in art
---- StdException BEGIN
The EventProcessor caught a std::exception and converted it to a cet::exception
---- StdException END
#2 Updated by Christopher Green almost 6 years ago
- Tracker changed from Bug to Feature
- Status changed from New to Accepted
This is a long standing issue that we have not been able to schedule.
In the meantime, the normal way to trace this problem is to (e.g. for gdb)
catch throw. The debugger will then stop at the point the exception is thrown, and
wherewill have gdb provide the full stack trace to the exception throw point.