How to catch ANY exception in gdb
In gdb, run
how-to-catch-any-exception-in-gdb.txt
catch throw
in order to break on any exception that is being thrown.
If you want to only break on a specific exception type instead, use
catch_throw_example.txt
catch throw [exception type]
Check out similar posts by category:
C/C++
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow