I came here because I had the same question. I eventually figured that for my purpose any time I could use something like "step-out" of a loop I can just set another breakpoint after the loop and then let the program continue to finish the loop and run into the breakpoint afterward. Sorry if that is obvious to most people but it is probably helpful for ...
I note you are using a conditional clause, so if the core dumps are not already generated, the easiest way is to include the signal in the name when they are generated. See man 5 core for details.
If you already have them, have a look at the details of the core format (see e.g. here). I'd assume the signal number is in the various siginfo_t ...
After hitting upon the right combination of web search keywords,
I am 90% sure this is a duplicate of this bug from December 15, 2018:
Slow thumbnail generation due to font issues
So I was investigating a slowdown in eog while auto-reloading SVG files, and
it seems the problem was in the thumbnail generation, which was taking ~10s.
(For a tiny ...