Subject: Re: [boost] [test] I want my core dumped
From: Gavin Lambert (boost_at_[hidden])
Date: 2018-08-22 23:12:53
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?