22 Aug
2018
22 Aug
'18
11:12 p.m.
On 22/08/2018 20:58, Alain Miniussi wrote:
I have assert in my library code, but when the assert fire in a test, the main function in minimal.hpp intercept the signal and explains that, yes, you asked for an abort, but no:
[...] ../../../boost/test/minimal.hpp(136): exception "signal: SIGABRT (application abort requested)" caught in function: 'int main(int, char **)'
Is there a way to avoid that behavior ? I need that core file.
Can't you just run it in the debugger and have it first-chance-catch any signals? Or breakpoint on abort?