I am debugging code with exception throwing and exception handling. I would like gdb to break immediately when an exception is thrown, so i can inspect the state of the program and the call stack. How can I make gdb break when any exception is thrown?
I am debugging code with exception throwing and exception handling. I would like gdb
Share
You can do this with the
catch throwcommand. See here: