I am debugging code with exception handling and exception handling. I would like gdb to crash immediately when an exception is thrown, so I can check the status of the program and the call stack. How can I make gdb break when throwing any exception?
source share