Remedybg does not stop on exception

I have a bizarre issue with remedybg, and I'm missing how to tackle it..

I have a very simple C++ program with:

int main() {

printf("aaa");

throw std::runtime_error("bbbb");

printf("bbb");

return 0;

}

The issue is that remedybg doesn't break on the throw, and program continues to run:

obraz.png

obraz.png

At the same time, when I run it either with VS debugger or just run it from the command line, everything works as expected, i.e., the debugger breaks in the first case, and Windows shows abort/ignore/retry window in the second case.

I can emulate rememedybg behavior in WinDBG when I change C++ EH exception settings to "Output" instead of "Second Chance Break":

obraz.png

I found that there is another thread on a similar topic: https://remedybg.handmade.network/forums/t/8657-break_on_crash . Can you confirm it would be the same case?


Edited by Przemek on

Yes, this is precisely the same thing.

The plan is to implement a something akin to WinDBG's event filters to control what the debugger does for various debug events, including exceptions.

Thanks.

Thank you! :)


Replying to x13pixels (#29586)